]> git.mxchange.org Git - friendica.git/blobdiff - mod/profperm.php
Rename DBA::is_result to DBA::isResult
[friendica.git] / mod / profperm.php
index e2b0738e0e09a01314a5558dc6d6c5c0ca6bdb66..37047e6de71285bc9238ad913190cb86473cf32c 100644 (file)
@@ -51,7 +51,7 @@ function profperm_content(App $a) {
                        intval($a->argv[2]),
                        intval(local_user())
                );
-               if (DBA::is_result($r))
+               if (DBA::isResult($r))
                        $change = intval($a->argv[2]);
        }
 
@@ -61,7 +61,7 @@ function profperm_content(App $a) {
                        intval($a->argv[1]),
                        intval(local_user())
                );
-               if (! DBA::is_result($r)) {
+               if (! DBA::isResult($r)) {
                        notice(L10n::t('Invalid profile identifier.') . EOL );
                        return;
                }
@@ -73,7 +73,7 @@ function profperm_content(App $a) {
                );
 
                $ingroup = [];
-               if (DBA::is_result($r))
+               if (DBA::isResult($r))
                        foreach($r as $member)
                                $ingroup[] = $member['id'];
 
@@ -103,7 +103,7 @@ function profperm_content(App $a) {
                        $members = $r;
 
                        $ingroup = [];
-                       if (DBA::is_result($r))
+                       if (DBA::isResult($r))
                                foreach($r as $member)
                                        $ingroup[] = $member['id'];
                }
@@ -147,7 +147,7 @@ function profperm_content(App $a) {
                        dbesc(NETWORK_DFRN)
                );
 
-               if (DBA::is_result($r)) {
+               if (DBA::isResult($r)) {
                        $textmode = (($switchtotext && (count($r) > $switchtotext)) ? true : false);
                        foreach($r as $member) {
                                if(! in_array($member['id'],$ingroup)) {