mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
- 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:
@@ -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').',
|
||||
|
||||
Reference in New Issue
Block a user