aboutsummaryrefslogtreecommitdiffstats
path: root/admin/maintenance.php
diff options
context:
space:
mode:
authorddtddt <ddtddt@piwigo.org>2009-07-04 19:20:40 +0000
committerddtddt <ddtddt@piwigo.org>2009-07-04 19:20:40 +0000
commitfcf338369e6dd84af1814691a5ef9bf4a8985b8c (patch)
treed119f71e322686bb09eb18c96987ae0048fbfb17 /admin/maintenance.php
parentcc285fa7314d9b48a73669fa2d2df0b4cbf43514 (diff)
merge 3516 Br2.0 -> trunk
git-svn-id: http://piwigo.org/svn/trunk@3517 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/maintenance.php')
-rw-r--r--admin/maintenance.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/admin/maintenance.php b/admin/maintenance.php
index ba6b718bb..9d991d924 100644
--- a/admin/maintenance.php
+++ b/admin/maintenance.php
@@ -100,6 +100,15 @@ DELETE
$c13y->maintenance();
break;
}
+ case 'search' :
+ {
+ $query = '
+DELETE
+ FROM '.SEARCH_TABLE.'
+;';
+ pwg_query($query);
+ break;
+ }
case 'compiled-templates' :
{
$template->delete_compiled_templates();