X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcb.php;h=030bea4d31849c068a8969c8929fae21530ff421;hb=69fd3c60b0bb7a54f34378462b9211c238f4f0d4;hp=90e41fb6d5e1d821dac470aff382c6076919dd83;hpb=a020086128e3d903a030cc3b3d403ab9bce02d88;p=friendica.git diff --git a/mod/cb.php b/mod/cb.php index 90e41fb6d5..030bea4d31 100644 --- a/mod/cb.php +++ b/mod/cb.php @@ -4,20 +4,21 @@ * General purpose landing page for plugins/addons */ +use Friendica\App; -function cb_init(App &$a) { +function cb_init(App $a) { call_hooks('cb_init'); } -function cb_post(App &$a) { +function cb_post(App $a) { call_hooks('cb_post', $_POST); } -function cb_afterpost(App &$a) { +function cb_afterpost(App $a) { call_hooks('cb_afterpost'); } -function cb_content(App &$a) { +function cb_content(App $a) { $o = ''; call_hooks('cb_content', $o); return $o;