Merge pull request #495 from MrPetovan/bug/remaining-call-hooks
Fix remaining call_hookspull/496/head
commit
afaa39ed7b
|
@ -96,7 +96,7 @@ function show_button($a, &$b) {
|
||||||
|
|
||||||
// Call hooks to get aditional smileies from other addons
|
// Call hooks to get aditional smileies from other addons
|
||||||
$params = ['texts' => $texts, 'icons' => $icons, 'string' => ""]; //changed
|
$params = ['texts' => $texts, 'icons' => $icons, 'string' => ""]; //changed
|
||||||
call_hooks('smilie', $params);
|
Addon::callHooks('smilie', $params);
|
||||||
|
|
||||||
//Generate html for smiley list
|
//Generate html for smiley list
|
||||||
$s = "<table class=\"smiley-preview\"><tr>\n\t";
|
$s = "<table class=\"smiley-preview\"><tr>\n\t";
|
||||||
|
|
|
@ -470,5 +470,5 @@ function windowsphonepush_login(App $a)
|
||||||
require_once 'include/security.php';
|
require_once 'include/security.php';
|
||||||
authenticate_success($record);
|
authenticate_success($record);
|
||||||
$_SESSION["allow_api"] = true;
|
$_SESSION["allow_api"] = true;
|
||||||
call_hooks('logged_in', $a->user);
|
Addon::callHooks('logged_in', $a->user);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue