diff options
Diffstat (limited to 'admin/maintenance.php')
-rw-r--r-- | admin/maintenance.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/admin/maintenance.php b/admin/maintenance.php index 49d97d8ce..7ee5f84e5 100644 --- a/admin/maintenance.php +++ b/admin/maintenance.php @@ -59,16 +59,20 @@ switch ($action) update_average_rate(); break; } - case 'history' : + case 'history_detail' : { $query = ' DELETE - FROM '.HISTORY_SUMMARY_TABLE.' + FROM '.HISTORY_TABLE.' ;'; pwg_query($query); + break; + } + case 'history_summary' : + { $query = ' DELETE - FROM '.HISTORY_TABLE.' + FROM '.HISTORY_SUMMARY_TABLE.' ;'; pwg_query($query); break; @@ -111,7 +115,8 @@ $template->assign_vars( array( 'U_MAINT_CATEGORIES' => $start_url.'categories', 'U_MAINT_IMAGES' => $start_url.'images', - 'U_MAINT_HISTORY' => $start_url.'history', + 'U_MAINT_HISTORY_DETAIL' => $start_url.'history_detail', + 'U_MAINT_HISTORY_SUMMARY' => $start_url.'history_summary', 'U_MAINT_SESSIONS' => $start_url.'sessions', 'U_MAINT_FEEDS' => $start_url.'feeds', 'U_MAINT_DATABASE' => $start_url.'database', |