From 41b64cb8a3ee58cf671b70fa6d54ced8ed452ce4 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 7 Mar 2016 20:09:15 +0100 Subject: [PATCH] static function declaration --- plugins/Favorite/classes/Fave.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5