X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Feditpost.php;h=9e3401e958a7d7e6e19d11d28e7ba071525549a6;hb=391c5913227c7f62f19b4f08906b0b1b0b618b33;hp=117cb3fb19301180746acc0c91e92fabcc3964ae;hpb=e36f2bb1fb3439e9993c7568e57140c4f954b772;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index 117cb3fb19..9e3401e958 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -4,6 +4,7 @@ */ use Friendica\App; use Friendica\Content\Feature; +use Friendica\Core\Addon; use Friendica\Core\Config; use Friendica\Core\System; use Friendica\Database\DBM; @@ -94,8 +95,8 @@ function editpost_content(App $a) { - call_hooks('jot_tool', $jotplugins); - //call_hooks('jot_networks', $jotnets); + Addon::callHooks('jot_tool', $jotplugins); + //Addon::callHooks('jot_networks', $jotnets); //$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));