static function getStream($tag, $offset=0, $limit=20, $sinceId=0, $maxId=0)
{
- $stream = new TagNoticeStream($tag);
-
- return $stream->getNotices($offset, $limit, $sinceId, $maxId);
+ // FIXME: Get the Profile::current value some other way
+ // to avoid confusino between queue processing and session.
+ $stream = new TagNoticeStream($tag, Profile::current());
+ return $stream;
}
function blowCache($blowLast=false)