mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
set writable flag on all stat contacts with notify link
This commit is contained in:
parent
c8f32536ff
commit
8b323b566f
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue