aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-04-27 22:25:05 +0000
committerrub <rub@piwigo.org>2007-04-27 22:25:05 +0000
commit877564c8c55195fa878d5453b1b3824f1b4842b0 (patch)
treed2eb79fb1e0223ad981e382d574aa3a566ab9e74 /admin
parenta0295117fe917f2df4b4d401572a448117b6db7f (diff)
Delete all history tables on maintenance page.
git-svn-id: http://piwigo.org/svn/trunk@1987 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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);