mirror of
https://github.com/friendica/friendica
synced 2025-04-26 04:30:11 +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
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\Worker;
|
||||
|
||||
|
@ -42,7 +43,7 @@ if (Config::get('system', 'maintenance', true)) {
|
|||
|
||||
$a->set_baseurl(Config::get('system', 'url'));
|
||||
|
||||
load_hooks();
|
||||
Addon::loadHooks();
|
||||
|
||||
$spawn = (($_SERVER["argc"] == 2) && ($_SERVER["argv"][1] == "spawn"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue