diff options
author | Andrew Dolgov <[email protected]> | 2009-01-17 15:44:01 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-17 15:44:01 +0100 |
commit | 00fceabf61a67abdd4a119f562f013f8ed6b022b (patch) | |
tree | b41ce2737383755126cf6411648912da28b1f4b3 /modules/backend-rpc.php | |
parent | e7dd88a215ef3e256746eb2474198fb6257f0cd3 (diff) |
rpc, updateAllFeeds: remove unnecessary modifications of ttrss_scheduled_updates
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); |