aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-05-06 01:04:58 +0000
committerrvelices <rv-github@modusoptimus.com>2008-05-06 01:04:58 +0000
commit5dbad41e2e125b6a55e85c5588d96b68f6486ef4 (patch)
tree9203a53ed03f05d6d6c9ca53efb4c466d814ef41 /include
parentb623814d9b803ac8dee3df6703e4b4b493bc2799 (diff)
- 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
Diffstat (limited to 'include')
-rw-r--r--include/functions.inc.php8
1 files changed, 0 insertions, 8 deletions
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').',