diff --git a/plugins/Favorite/classes/Fave.php b/plugins/Favorite/classes/Fave.php index 864a0fc37b..7dad591181 100644 --- a/plugins/Favorite/classes/Fave.php +++ b/plugins/Favorite/classes/Fave.php @@ -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();