mirror of
https://github.com/friendica/friendica
synced 2025-05-10 04:24:09 +02: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
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Database\DBM;
|
||||
|
@ -254,7 +255,7 @@ EOT;
|
|||
|
||||
$new_item['id'] = $new_item_id;
|
||||
|
||||
call_hooks('post_local_end', $new_item);
|
||||
Addon::callHooks('post_local_end', $new_item);
|
||||
|
||||
Worker::add(PRIORITY_HIGH, "Notifier", "like", $new_item_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue