Changes to GNUsocial plugins

These aren't ready for production use. Might be insecure, probably broken.
This commit is contained in:
Mikael Nordfeldth
2013-08-29 16:18:56 +02:00
parent f042eea956
commit 07ca304c65
3 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ class Photo extends Managed_DataObject
);
}
function saveNew($profile, $photo_uri, $thumb_uri, $title, $description, $options=array())
static function saveNew(Profile $profile, $photo_uri, $thumb_uri, $title, $description, $options=array())
{
$photo = new Photo();