mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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:
+1
-6
@@ -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 );
|
||||
?>
|
||||
Reference in New Issue
Block a user