From: Andreas K. <la...@us...> - 2002-05-05 18:11:33
|
Update of /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14 In directory usw-pr-cvs1:/tmp/cvs-serv10585/PN_phpBB_14/html/modules/phpBB_14 Modified Files: functions.php Log Message: code cleanup Index: functions.php =================================================================== RCS file: /cvsroot/pn-modules/PN_phpBB_14/html/modules/phpBB_14/functions.php,v retrieving revision 1.109 retrieving revision 1.110 diff -C2 -d -r1.109 -r1.110 *** functions.php 4 May 2002 17:53:43 -0000 1.109 --- functions.php 5 May 2002 18:11:30 -0000 1.110 *************** *** 32,37 **** ************************************************************************/ /* if (!defined("LOADED_AS_MODULE")) { ! die ("You can't access this file directly..."); } */ --- 32,38 ---- ************************************************************************/ /* + [...1641 lines suppressed...] ! // user_id is only used in the phpbb users table :-) ! $sql = "INSERT INTO $pntable[phpbb14_users] (user_id) ! VALUES ($pn_uid)"; ! if (!mysql_query($sql)) { ! error_die(_PHPBB_ERROR_CONNECT,$sql,mysql_errno(),mysql_error()); ! } } ! } else { ! $userdata = phpbb14_get_userdata_from_id(1); ! } return $last_visit; } *************** *** 1348,1352 **** $topic_name=get_topic_name($topic); } - // Table layout (col and rowspans are marked with '*' and '-') --- 1310,1313 ---- |