mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 23:03:42 +00:00
Fix remaining call_hooks
This commit is contained in:
parent
1836f529a4
commit
3e418dc5a0
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ function show_button($a, &$b) {
|
|||
|
||||
// Call hooks to get aditional smileies from other addons
|
||||
$params = ['texts' => $texts, 'icons' => $icons, 'string' => ""]; //changed
|
||||
call_hooks('smilie', $params);
|
||||
Addon::callHooks('smilie', $params);
|
||||
|
||||
//Generate html for smiley list
|
||||
$s = "<table class=\"smiley-preview\"><tr>\n\t";
|
||||
|
|
|
@ -470,5 +470,5 @@ function windowsphonepush_login(App $a)
|
|||
require_once 'include/security.php';
|
||||
authenticate_success($record);
|
||||
$_SESSION["allow_api"] = true;
|
||||
call_hooks('logged_in', $a->user);
|
||||
Addon::callHooks('logged_in', $a->user);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue