]> git.mxchange.org Git - friendica.git/blobdiff - mod/cb.php
Merge pull request #3789 from Alkarex/french_regions
[friendica.git] / mod / cb.php
index 90e41fb6d5e1d821dac470aff382c6076919dd83..030bea4d31849c068a8969c8929fae21530ff421 100644 (file)
@@ -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;