X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcb.php;h=030bea4d31849c068a8969c8929fae21530ff421;hb=93fb98959a798cca0eb4709a38508b7e7b6d5b9e;hp=6375d23984d708c989b81d53699843f9235fb076;hpb=cb05801a9031254f5882038de07a3ee4d5f89dd0;p=friendica.git diff --git a/mod/cb.php b/mod/cb.php index 6375d23984..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(&$a) { +function cb_init(App $a) { call_hooks('cb_init'); } -function cb_post(&$a) { +function cb_post(App $a) { call_hooks('cb_post', $_POST); } -function cb_afterpost(&$a) { +function cb_afterpost(App $a) { call_hooks('cb_afterpost'); } -function cb_content(&$a) { +function cb_content(App $a) { $o = ''; call_hooks('cb_content', $o); return $o;