static function declaration

This commit is contained in:
Mikael Nordfeldth 2016-03-07 20:09:15 +01:00
parent a0336ce48b
commit 41b64cb8a3

View File

@ -79,7 +79,7 @@ class Fave extends Managed_DataObject
return $stored;
}
public function removeEntry(Profile $actor, Notice $target)
static function removeEntry(Profile $actor, Notice $target)
{
$fave = new Fave();
$fave->user_id = $actor->getID();