]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/GNUsocialPhotos/classes/gnusocialphoto.php
Changes to GNUsocial plugins
[quix0rs-gnu-social.git] / plugins / GNUsocialPhotos / classes / gnusocialphoto.php
index 9fbe5a58aa4282b2adac8680e0f9cb0a235c6dbe..4f4e5fbfe44cc415ae66c8410c4686bb93567b2d 100644 (file)
@@ -85,7 +85,7 @@ class GNUsocialPhoto extends Managed_DataObject
         );
     }
 
-    function saveNew($profile_id, $album_id, $thumb_uri, $uri, $source, $insert_now, $title = null, $photo_description = null)
+    static function saveNew($profile_id, $album_id, $thumb_uri, $uri, $source, $insert_now, $title = null, $photo_description = null)
     {
         $photo = new GNUsocialPhoto();
         $photo->thumb_uri = $thumb_uri;