X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Finboxnoticestream.php;h=2b19461c5763d7bc542cac96ce956fbf9fcdda4b;hb=b4271a3533bdf12329f27dd75452c1ef2a6ee3d1;hp=d90c525bf8c542d2150b4e18e9b77fca36df871d;hpb=2301862ae674ab41e77fe913f61c59eb2e6fffff;p=quix0rs-gnu-social.git diff --git a/lib/inboxnoticestream.php b/lib/inboxnoticestream.php index d90c525bf8..2b19461c57 100644 --- a/lib/inboxnoticestream.php +++ b/lib/inboxnoticestream.php @@ -54,9 +54,6 @@ class InboxNoticeStream extends ScopingNoticeStream */ function __construct(Profile $target, Profile $scoped=null) { - if ($scoped === null) { - $scoped = Profile::current(); - } // FIXME: we don't use CachingNoticeStream - but maybe we should? parent::__construct(new CachingNoticeStream(new RawInboxNoticeStream($target), 'profileall'), $scoped); } @@ -72,7 +69,7 @@ class InboxNoticeStream extends ScopingNoticeStream * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0 * @link http://status.net/ */ -class RawInboxNoticeStream extends NoticeStream +class RawInboxNoticeStream extends FullNoticeStream { protected $target = null; protected $inbox = null;