mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:50: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\Content\Feature;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
|
@ -328,7 +329,7 @@ function event_store($arr) {
|
|||
$item_id = 0;
|
||||
}
|
||||
|
||||
call_hooks("event_updated", $arr['id']);
|
||||
Addon::callHooks("event_updated", $arr['id']);
|
||||
|
||||
return $item_id;
|
||||
} else {
|
||||
|
@ -406,7 +407,7 @@ function event_store($arr) {
|
|||
);
|
||||
}
|
||||
|
||||
call_hooks("event_created", $event['id']);
|
||||
Addon::callHooks("event_created", $event['id']);
|
||||
|
||||
return $item_id;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue