From: Evan Prodromou Date: Sat, 31 Dec 2011 17:35:22 +0000 (-0800) Subject: Revert "when silencing, blow scope for not-logged-in users" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3117c380442a02f572c0ae63035fa7457e8b106f;p=quix0rs-gnu-social.git Revert "when silencing, blow scope for not-logged-in users" This reverts commit 04f71a42d397fe4ed2737f64844925894ecbd7db. --- diff --git a/classes/Profile.php b/classes/Profile.php index 59a2e0eced..3b3e43025b 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -1139,20 +1139,11 @@ class Profile extends Managed_DataObject function silence() { $this->grantRole(Profile_role::SILENCED); - $this->blowRecentNoticeScope(); } function unsilence() { $this->revokeRole(Profile_role::SILENCED); - $this->blowRecentNoticeScope(); - } - - function blowRecentNoticeScope() { - $notice = $this->getNotices(0, CachingNoticeStream::CACHE_WINDOW); - while ($notice->fetch()) { - self::blow(sprintf('notice:in-scope-for:%d:null', $notice->id)); - } } /**