mirror of
https://github.com/friendica/friendica
synced 2025-04-22 21:10:10 +00:00
Rename DBA::is_result to DBA::isResult
This commit is contained in:
parent
0ec44f3e8a
commit
ecea7425f8
152 changed files with 765 additions and 765 deletions
|
@ -73,7 +73,7 @@ class PushSubscriber
|
|||
if ($subscribe) {
|
||||
// if we are just updating an old subscription, keep the
|
||||
// old values for last_update but reset the push
|
||||
if (DBA::is_result($subscriber)) {
|
||||
if (DBA::isResult($subscriber)) {
|
||||
$last_update = $subscriber['last_update'];
|
||||
$push_flag = min($subscriber['push'], 1);
|
||||
} else {
|
||||
|
@ -103,7 +103,7 @@ class PushSubscriber
|
|||
public static function delay($id)
|
||||
{
|
||||
$subscriber = DBA::selectFirst('push_subscriber', ['push', 'callback_url', 'renewed', 'nickname'], ['id' => $id]);
|
||||
if (!DBA::is_result($subscriber)) {
|
||||
if (!DBA::isResult($subscriber)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -141,7 +141,7 @@ class PushSubscriber
|
|||
public static function reset($id, $last_update)
|
||||
{
|
||||
$subscriber = DBA::selectFirst('push_subscriber', ['callback_url', 'nickname'], ['id' => $id]);
|
||||
if (!DBA::is_result($subscriber)) {
|
||||
if (!DBA::isResult($subscriber)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue