diff options
Diffstat (limited to 'modules/backend-rpc.php')
-rw-r--r-- | modules/backend-rpc.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/modules/backend-rpc.php b/modules/backend-rpc.php index 75e4f946e..41e8ebd18 100644 --- a/modules/backend-rpc.php +++ b/modules/backend-rpc.php @@ -135,29 +135,6 @@ if ($subop == "forceUpdateAllFeeds" || $subop == "updateAllFeeds") { - if (ENABLE_UPDATE_DAEMON) { - - if ($subop == "forceUpdateAllFeeds") { - - $result = db_query($link, "SELECT count(id) AS cid FROM - ttrss_scheduled_updates WHERE feed_id IS NULL AND - owner_uid = " . $_SESSION["uid"]); - - $cid = db_fetch_result($result, 0, "cid"); - - if ($cid == 0) { - - db_query($link, "INSERT INTO ttrss_scheduled_updates - (owner_uid, feed_id, entered) VALUES - (".$_SESSION["uid"].", NULL, NOW())"); - - } - } - - } else { - update_all_feeds($link, $subop == "forceUpdateAllFeeds"); - } - $global_unread_caller = sprintf("%d", $_GET["uctr"]); $global_unread = getGlobalUnread($link); |