- $profile = Profile::current();
-
- $keypart = sprintf('Inbox:notice_tag:%d:%d', $this->user->id, $profile->id);
-
- $tag = Memcached_DataObject::cacheGet($keypart);
+ // FIXME: Get the Profile::current() value some other way
+ // to avoid confusion between background stuff and session.
+ $stream = new InboxNoticeStream($this->target, Profile::current());