set writable flag on all stat contacts with notify link
This commit is contained in:
parent
c8f32536ff
commit
8b323b566f
|
@ -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…
Reference in New Issue
Block a user