set writable flag on all stat contacts with notify link

This commit is contained in:
Friendika 2011-04-11 03:30:25 -07:00
parent c8f32536ff
commit 8b323b566f

View File

@ -269,6 +269,11 @@ function poller_run($argv, $argc){
// $contact['network'] !== 'dfrn' // $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']); $xml = fetch_url($contact['poll']);
} }