]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Merge pull request #4618 from tobiasd/210180317-htconfig
[friendica.git] / mod / photos.php
index 2b6998ae1dfb0aa992390162a8b0ce06d64e1bd0..3cd8b752863b6a68b49a04113a9aa6659b8e7cd9 100644 (file)
@@ -838,7 +838,7 @@ function photos_post(App $a)
 
        $smallest = 0;
 
-       $photo_hash = photo_new_resource();
+       $photo_hash = Photo::newResource();
 
        $r = Photo::store($Image, $page_owner_uid, $visitor, $photo_hash, $filename, $album, 0 , 0, $str_contact_allow, $str_group_allow, $str_contact_deny, $str_group_deny);