]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
static function declaration
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 7 Mar 2016 19:09:15 +0000 (20:09 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 7 Mar 2016 19:09:15 +0000 (20:09 +0100)
plugins/Favorite/classes/Fave.php

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