]> git.mxchange.org Git - friendica.git/blobdiff - mod/wall_upload.php
Docs: add a note on adding `use` on theme.php
[friendica.git] / mod / wall_upload.php
index dd7d0f158632f7307c40377b1b490fb2c9dcc20c..61578ca5c8204e334b7b86728b671c0660472840 100644 (file)
@@ -222,7 +222,7 @@ function wall_upload_post(App $a, $desktopmode = true) {
        $width = $Image->getWidth();
        $height = $Image->getHeight();
 
-       $hash = photo_new_resource();
+       $hash = Photo::newResource();
 
        $smallest = 0;