]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile_photo.php
Rename DBA::is_result to DBA::isResult
[friendica.git] / mod / profile_photo.php
index e17ba4c4019246d1581e063944ec74dd75336255..65c4b6dc72db5ca30c5e3a5487f266f50b2e4d29 100644 (file)
@@ -42,7 +42,7 @@ function profile_photo_post(App $a)
                                intval(local_user())
                        );
 
-                       if (DBA::is_result($r) && (!intval($r[0]['is-default']))) {
+                       if (DBA::isResult($r) && (!intval($r[0]['is-default']))) {
                                $is_default_profile = 0;
                        }
                }
@@ -73,7 +73,7 @@ function profile_photo_post(App $a)
                        dbesc(local_user()), intval($scale));
 
                $url = System::baseUrl() . '/profile/' . $a->user['nickname'];
-               if (DBA::is_result($r)) {
+               if (DBA::isResult($r)) {
                        $base_image = $r[0];
 
                        $Image = new Image($base_image['data'], $base_image['type']);
@@ -194,7 +194,7 @@ function profile_photo_content(App $a)
                        dbesc($resource_id)
                );
 
-               if (!DBA::is_result($r)) {
+               if (!DBA::isResult($r)) {
                        notice(L10n::t('Permission denied.') . EOL);
                        return;
                }