]> git.mxchange.org Git - friendica.git/blobdiff - mod/nogroup.php
added more curly braces + space between "if" and brace
[friendica.git] / mod / nogroup.php
index c75b595c363967f6fbfe0324117b288818e31415..c44840627739437ce31dc19a7773e0ee5dc3a3ec 100644 (file)
@@ -4,7 +4,7 @@ require_once('include/Contact.php');
 require_once('include/socgraph.php');
 require_once('include/contact_selectors.php');
 
-function nogroup_init(&$a) {
+function nogroup_init(App &$a) {
 
        if (! local_user()) {
                return;
@@ -21,7 +21,7 @@ function nogroup_init(&$a) {
 }
 
 
-function nogroup_content(&$a) {
+function nogroup_content(App &$a) {
 
        if (! local_user()) {
                notice( t('Permission denied.') . EOL);