]> git.mxchange.org Git - friendica.git/blobdiff - mod/profperm.php
Use short form array syntax everywhere
[friendica.git] / mod / profperm.php
index ee51906601b2c0fe5578bfeffc388694e23572ea..015260d54d356b6ebd47ff69c3beacc83b862ca6 100644 (file)
@@ -69,7 +69,7 @@ function profperm_content(App $a) {
                        intval($a->argv[1])
                );
 
-               $ingroup = array();
+               $ingroup = [];
                if (DBM::is_result($r))
                        foreach($r as $member)
                                $ingroup[] = $member['id'];
@@ -99,7 +99,7 @@ function profperm_content(App $a) {
 
                        $members = $r;
 
-                       $ingroup = array();
+                       $ingroup = [];
                        if (DBM::is_result($r))
                                foreach($r as $member)
                                        $ingroup[] = $member['id'];