From: Mikael Nordfeldth Date: Tue, 23 Jun 2015 11:24:19 +0000 (+0200) Subject: non-static method was called statically, now defined static X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=030b570051f03e9095a6502cbbc89ab4808a7089;p=quix0rs-gnu-social.git non-static method was called statically, now defined static --- diff --git a/plugins/Favorite/classes/Fave.php b/plugins/Favorite/classes/Fave.php index 48ed3ba93b..ab78478db5 100644 --- a/plugins/Favorite/classes/Fave.php +++ b/plugins/Favorite/classes/Fave.php @@ -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);