non-static method was called statically, now defined static

This commit is contained in:
Mikael Nordfeldth 2015-06-23 13:24:19 +02:00
parent 3a74f49182
commit 030b570051
1 changed files with 1 additions and 1 deletions

View 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);