X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcb.php;h=3c5df6e38ba12a861c3fba117ff786d6a9d111e4;hb=5b7c8d86311b847c2a4a89c465ae1c510a58be7b;hp=6375d23984d708c989b81d53699843f9235fb076;hpb=804c04a06f590ef860bea7ad95b24633d2fa048b;p=friendica.git diff --git a/mod/cb.php b/mod/cb.php index 6375d23984..3c5df6e38b 100644 --- a/mod/cb.php +++ b/mod/cb.php @@ -5,19 +5,19 @@ */ -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;