mirror of
https://github.com/friendica/friendica
synced 2025-04-28 00:30:10 +00:00
Update Addon functions and calls
Update function names and calls for Addon class.
This commit is contained in:
parent
213f6ae1a1
commit
11cf36105c
73 changed files with 544 additions and 464 deletions
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
namespace Friendica\Core;
|
||||
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
|
@ -1030,7 +1031,7 @@ class Worker
|
|||
|
||||
$arr = ['args' => $args, 'run_cmd' => true];
|
||||
|
||||
call_hooks("proc_run", $arr);
|
||||
Addon::callHooks("proc_run", $arr);
|
||||
if (!$arr['run_cmd'] || !count($args)) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue