]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Photo.php
Fix function comments in Util\Network
[friendica.git] / src / Model / Photo.php
index 9f0007f8bcebd927390eb3521abd3bccb377a9a3..b08c6f0459b8654fe0fdfa220255e24107674376 100644 (file)
@@ -45,7 +45,7 @@ class Photo
                if (DBM::is_result($photo)) {
                        $guid = $photo['guid'];
                } else {
-                       $guid = get_guid();
+                       $guid = System::createGUID();
                }
 
                $existing_photo = dba::selectFirst('photo', ['id'], ['resource-id' => $rid, 'uid' => $uid, 'contact-id' => $cid, 'scale' => $scale]);
@@ -273,7 +273,8 @@ class Photo
         *
         * @return string
         */
-       public static function newResource() {
-               return get_guid(32, false);
+       public static function newResource()
+       {
+               return system::createGUID(32, false);
        }
 }