X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FFeed.php;h=b9d573979a721430eec0467b725635c5b0efb8b7;hb=8b02c285472ea28002cf9c8924e2885dd207ccd8;hp=654b8a4e9d4fcb62e99ab04aa68faa05e85a89f4;hpb=6aa1dcfad371f34fea1f8e39b73de2cc3dd05784;p=friendica.git diff --git a/src/Module/Feed.php b/src/Module/Feed.php index 654b8a4e9d..b9d573979a 100644 --- a/src/Module/Feed.php +++ b/src/Module/Feed.php @@ -65,12 +65,12 @@ class Feed extends BaseModule throw new HTTPException\NotFoundException($this->t('User not found.')); } - if ($owner['blocked'] || $owner['hidewall']) { + if ($owner['blocked']) { throw new HTTPException\UnauthorizedException($this->t('Access to this profile has been restricted.')); } $feed = ProtocolFeed::atom($owner, $last_update, 10, $type); - System::httpExit($feed, Response::TYPE_ATOM); + $this->httpExit($feed, Response::TYPE_ATOM); } }