summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-04-01 09:35:56 +0400
committerAndrew Dolgov <[email protected]>2012-04-01 09:35:56 +0400
commitecbd7b91fe22b9d2fe13cbe6e2483b85b400ec9b (patch)
tree3d29f8a870734bb59fd4e84558045e6ee133fb97 /classes/rpc.php
parentc86bf88d98fab6c0c45e605b1cc6de3db5080c9b (diff)
allow manual updates for feeds with disabled automatic updates
Diffstat (limited to 'classes/rpc.php')
-rw-r--r--classes/rpc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index a5e32d47e..5bb9b3295 100644
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -746,7 +746,7 @@ class RPC extends Protected_Handler {
db_query($this->link, "UPDATE ttrss_feeds SET
last_update_started = '1970-01-01',
- last_updated = '1970-01-01' WHERE id = '$feed_id' AND
+ last_updated = NULL WHERE id = '$feed_id' AND
owner_uid = ".$_SESSION["uid"]);
} else {
@@ -759,7 +759,7 @@ class RPC extends Protected_Handler {
db_query($this->link, "UPDATE ttrss_feeds SET
last_update_started = '1970-01-01',
- last_updated = '1970-01-01' WHERE $cat_query AND
+ last_updated = NULL WHERE $cat_query AND
owner_uid = ".$_SESSION["uid"]);
}
} else {