diff options
author | Andrew Dolgov <[email protected]> | 2012-05-05 22:28:46 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-05-05 22:28:46 +0400 |
commit | 941e48a402e084a3fa51224b150dc186250650e1 (patch) | |
tree | e5914ddc6824e00ae793e8efc4c3886e5685d6e0 /classes/rpc.php | |
parent | dd205fbad642ace6d0e33c8553f7d73404f140b4 (diff) |
apply patch from gmargo to differentiate between manual and new feed after-subscription update
Diffstat (limited to 'classes/rpc.php')
-rw-r--r-- | classes/rpc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 5bb9b3295..a5e32d47e 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 = NULL WHERE id = '$feed_id' AND + last_updated = '1970-01-01' 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 = NULL WHERE $cat_query AND + last_updated = '1970-01-01' WHERE $cat_query AND owner_uid = ".$_SESSION["uid"]); } } else { |