Deleting old code for history -> only using pwg_log

git-svn-id: http://piwigo.org/svn/trunk@36 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-07-25 10:19:00 +00:00
parent e8af3fb60e
commit ad8905a3c2
+1 -6
View File
@@ -114,11 +114,6 @@ $vtp->setGlobalVar( $handle, 'back_url', add_session_id( './category.php' ) );
$code = $vtp->Display( $handle, 0 );
echo $code;
//------------------------------------------------------------ log informations
pwg_log( 'category', $page['title'] );
pwg_log( 'search', $page['title'] );
mysql_close();
$query = 'insert into '.PREFIX_TABLE.'history';
$query.= '(date,login,IP,page) values';
$query.= "('".time()."', '".$user['pseudo']."','".$_SERVER['REMOTE_ADDR']."'";
$query.= ",'search');";
@mysql_query( $query );
?>