- 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
This commit is contained in:
rvelices
2008-05-06 01:04:58 +00:00
parent b623814d9b
commit 5dbad41e2e
5 changed files with 151 additions and 100 deletions
-8
View File
@@ -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').',