From: Mikael Nordfeldth Date: Mon, 7 Mar 2016 19:09:15 +0000 (+0100) Subject: static function declaration X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=41b64cb8a3ee58cf671b70fa6d54ced8ed452ce4;p=quix0rs-gnu-social.git static function declaration --- 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();