mirror of
https://github.com/friendica/friendica
synced 2025-04-25 01:10:12 +00:00
Rename DI::apphelper() to DI::appHeler()
This commit is contained in:
parent
e320b010c7
commit
603af2fb19
31 changed files with 44 additions and 44 deletions
|
@ -533,7 +533,7 @@ class Worker
|
|||
*/
|
||||
private static function execFunction(array $queue, string $funcname, array $argv, bool $method_call)
|
||||
{
|
||||
$appHelper = DI::apphelper();
|
||||
$appHelper = DI::appHelper();
|
||||
|
||||
self::coolDown();
|
||||
|
||||
|
@ -1371,7 +1371,7 @@ class Worker
|
|||
*/
|
||||
public static function getRetrial(): int
|
||||
{
|
||||
$queue = DI::apphelper()->getQueue();
|
||||
$queue = DI::appHelper()->getQueue();
|
||||
return $queue['retrial'] ?? 0;
|
||||
}
|
||||
|
||||
|
@ -1384,7 +1384,7 @@ class Worker
|
|||
*/
|
||||
public static function defer(int $worker_defer_limit = 0): bool
|
||||
{
|
||||
$queue = DI::apphelper()->getQueue();
|
||||
$queue = DI::appHelper()->getQueue();
|
||||
|
||||
if (empty($queue)) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue