aboutsummaryrefslogtreecommitdiffstats
path: root/admin/maintenance.php
diff options
context:
space:
mode:
authorddtddt <ddtddt@piwigo.org>2009-07-04 19:05:48 +0000
committerddtddt <ddtddt@piwigo.org>2009-07-04 19:05:48 +0000
commit3aab1e4125e60ccc400ee759c9cd9ae7b8398849 (patch)
tree5846ff90411cb205d3aedaa1d75758aeab2e7bbe /admin/maintenance.php
parent153c32e8ff033b58a6c57fdf0187312cbb018445 (diff)
bug 986 branche 2
git-svn-id: http://piwigo.org/svn/branches/2.0@3516 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();