aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-07-25 10:19:00 +0000
committerz0rglub <z0rglub@piwigo.org>2003-07-25 10:19:00 +0000
commitad8905a3c282acac57f1d4516668c62b6aa3380b (patch)
tree7672d7f0323b51d3dff2b1bfab1a423a5340dfde
parente8af3fb60e6f2a3f1a7c57157f40ce4dd1f99906 (diff)
Deleting old code for history -> only using pwg_log
git-svn-id: http://piwigo.org/svn/trunk@36 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--search.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/search.php b/search.php
index 43f878ef9..fbae08c9f 100644
--- a/search.php
+++ b/search.php
@@ -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 );
?> \ No newline at end of file