]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix remaining call_hooks
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 21 Jan 2018 05:11:18 +0000 (00:11 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 21 Jan 2018 05:11:18 +0000 (00:11 -0500)
smileybutton/smileybutton.php
windowsphonepush/windowsphonepush.php

index 4aea34d87876dced8ba4da7bf1e590d1caef44df..2d4a0743e62cf737c8a62317dcf85a2d66e7261e 100644 (file)
@@ -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";
index 861bb7afa7a45dbc66f8b6942e303babc5d4b9f6..032a53681f913d5de496726c5970fbf2f1a0ca7a 100644 (file)
@@ -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);
 }