Browse Source

set writable flag on all stat contacts with notify link

pull/1/head
Friendika 10 years ago
parent
commit
8b323b566f
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      include/poller.php

+ 5
- 0
include/poller.php View File

@ -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']);
}


Loading…
Cancel
Save