aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-04-27 22:26:30 +0000
committerrub <rub@piwigo.org>2007-04-27 22:26:30 +0000
commit8192a92ff45765f34fc9645a2bd9753437da360a (patch)
tree568cc338b2bb73659efa622dff059f1923d18df1 /admin
parenta44bf33a85dffb5991ab5ea469292498fb2696d2 (diff)
Delete all history tables on maintenance page.
Merge BSF 1986:1987 into branch-1_7 git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1988 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-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);