aboutsummaryrefslogtreecommitdiffstats
path: root/admin/maintenance.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/maintenance.php')
-rw-r--r--admin/maintenance.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/admin/maintenance.php b/admin/maintenance.php
index c0184c85c..49d97d8ce 100644
--- a/admin/maintenance.php
+++ b/admin/maintenance.php
@@ -2,10 +2,9 @@
// +-----------------------------------------------------------------------+
// | PhpWebGallery - a PHP based picture gallery |
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
-// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
+// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
// +-----------------------------------------------------------------------+
-// | branch : BSF (Best So Far)
-// | file : $RCSfile$
+// | file : $Id$
// | last update : $Date$
// | last modifier : $Author$
// | revision : $Revision$
@@ -64,6 +63,11 @@ switch ($action)
{
$query = '
DELETE
+ FROM '.HISTORY_SUMMARY_TABLE.'
+;';
+ pwg_query($query);
+ $query = '
+DELETE
FROM '.HISTORY_TABLE.'
;';
pwg_query($query);