mirror of
https://github.com/friendica/friendica
synced 2025-04-29 01:04:28 +02:00
Old database functions had been replaced in the workers
This commit is contained in:
parent
66bcbe210a
commit
08abf65f7b
6 changed files with 24 additions and 29 deletions
|
@ -541,8 +541,8 @@ class Notifier {
|
|||
if ($push_notify) {
|
||||
// Set push flag for PuSH subscribers to this topic,
|
||||
// they will be notified in queue.php
|
||||
q("UPDATE `push_subscriber` SET `push` = 1 ".
|
||||
"WHERE `nickname` = '%s' AND `push` = 0", dbesc($owner['nickname']));
|
||||
$condition = ['push' => false, 'nickname' => $owner['nickname']];
|
||||
dba::update('push_subscriber', ['push' => true], $condition);
|
||||
|
||||
logger('Activating internal PuSH for item '.$item_id, LOGGER_DEBUG);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue