]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
non-static method was called statically, now defined static
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 23 Jun 2015 11:24:19 +0000 (13:24 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 23 Jun 2015 11:24:19 +0000 (13:24 +0200)
plugins/Favorite/classes/Fave.php

index 48ed3ba93bcb3d4a8accae430e4c054e2a0ef9f2..ab78478db5e43f237a2e4c7ec1964acd42970b2e 100644 (file)
@@ -135,7 +135,7 @@ class Fave extends Managed_DataObject
         return $result;
     }
 
-    function stream($user_id, $offset=0, $limit=NOTICES_PER_PAGE, $own=false, $since_id=0, $max_id=0)
+    static function stream($user_id, $offset=0, $limit=NOTICES_PER_PAGE, $own=false, $since_id=0, $max_id=0)
     {
         $stream = new FaveNoticeStream($user_id, $own);