diff options
author | Friendika <info@friendika.com> | 2011-04-11 03:30:25 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-11 03:30:25 -0700 |
commit | 8b323b566fe2d7a0d72e9a61ef475c3dacb434d0 (patch) | |
tree | a857286e242595fb8c06cdadb6068ff7289eb7ad /include/poller.php | |
parent | c8f32536ff77193689efe69702f91122f97c1f36 (diff) | |
download | volse-hubzilla-8b323b566fe2d7a0d72e9a61ef475c3dacb434d0.tar.gz volse-hubzilla-8b323b566fe2d7a0d72e9a61ef475c3dacb434d0.tar.bz2 volse-hubzilla-8b323b566fe2d7a0d72e9a61ef475c3dacb434d0.zip |
set writable flag on all stat contacts with notify link
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/poller.php b/include/poller.php index cb2461584..b878ef295 100644 --- a/include/poller.php +++ b/include/poller.php @@ -269,6 +269,11 @@ function poller_run($argv, $argc){ // $contact['network'] !== 'dfrn' + if(($contact['notify']) && (! $contact['writable'])) { + q("UPDATE `contact` SET `writable` = 1 WHERE `id` = %d LIMIT 1", + intval($contact['id']) + ); + } $xml = fetch_url($contact['poll']); } |