mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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
This commit is contained in:
@@ -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$
|
||||
@@ -63,6 +62,11 @@ switch ($action)
|
||||
case 'history' :
|
||||
{
|
||||
$query = '
|
||||
DELETE
|
||||
FROM '.HISTORY_SUMMARY_TABLE.'
|
||||
;';
|
||||
pwg_query($query);
|
||||
$query = '
|
||||
DELETE
|
||||
FROM '.HISTORY_TABLE.'
|
||||
;';
|
||||
|
||||
Reference in New Issue
Block a user