mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:50:20 +00:00
Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
parent
b8030313e5
commit
5e1ceb57de
52 changed files with 135 additions and 133 deletions
|
@ -35,7 +35,7 @@ class Worker
|
|||
*/
|
||||
public static function processQueue($run_cron = true)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
self::$up_start = microtime(true);
|
||||
|
||||
|
@ -206,7 +206,7 @@ class Worker
|
|||
*/
|
||||
public static function execute($queue)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
$mypid = getmypid();
|
||||
|
||||
|
@ -319,7 +319,7 @@ class Worker
|
|||
*/
|
||||
private static function execFunction($queue, $funcname, $argv, $method_call)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
|
||||
$mypid = getmypid();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue