From ad8905a3c282acac57f1d4516668c62b6aa3380b Mon Sep 17 00:00:00 2001 From: z0rglub Date: Fri, 25 Jul 2003 10:19:00 +0000 Subject: Deleting old code for history -> only using pwg_log git-svn-id: http://piwigo.org/svn/trunk@36 68402e56-0260-453c-a942-63ccdbb3a9ee --- search.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'search.php') 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 -- cgit v1.2.3