aboutsummaryrefslogtreecommitdiffstats
path: root/admin/maintenance.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/maintenance.php')
-rw-r--r--admin/maintenance.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/admin/maintenance.php b/admin/maintenance.php
index f6dfa3297..935e42f0a 100644
--- a/admin/maintenance.php
+++ b/admin/maintenance.php
@@ -72,6 +72,16 @@ DELETE
pwg_query($query);
break;
}
+ case 'feeds' :
+ {
+ $query = '
+DELETE
+ FROM '.USER_FEED_TABLE.'
+ WHERE last_check IS NULL
+;';
+ pwg_query($query);
+ break;
+ }
default :
{
break;
@@ -91,7 +101,8 @@ $template->assign_vars(
'U_MAINT_CATEGORIES' => add_session_id($start_url.'categories'),
'U_MAINT_IMAGES' => add_session_id($start_url.'images'),
'U_MAINT_HISTORY' => add_session_id($start_url.'history'),
- 'U_MAINT_SESSIONS' => add_session_id($start_url.'sessions')
+ 'U_MAINT_SESSIONS' => add_session_id($start_url.'sessions'),
+ 'U_MAINT_FEEDS' => add_session_id($start_url.'feeds'),
)
);