From 5dbad41e2e125b6a55e85c5588d96b68f6486ef4 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 6 May 2008 01:04:58 +0000 Subject: - remove some unnecessary db columns (#history_summary.id, #history.year, month, day and hour) git-svn-id: http://piwigo.org/svn/trunk@2333 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include') diff --git a/include/functions.inc.php b/include/functions.inc.php index 6a4948aa9..13aa3d8f4 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -569,10 +569,6 @@ INSERT INTO '.HISTORY_TABLE.' ( date, time, - year, - month, - day, - hour, user_id, IP, section, @@ -585,10 +581,6 @@ INSERT INTO '.HISTORY_TABLE.' ( CURDATE(), CURTIME(), - YEAR( CURDATE() ), - MONTH( CURDATE() ), - DAYOFMONTH( CURDATE() ), - HOUR( CURTIME() ), '.$user['id'].', \''.$_SERVER['REMOTE_ADDR'].'\', '.(isset($page['section']) ? "'".$page['section']."'" : 'NULL').', -- cgit v1.2.3