From: Evan Prodromou Date: Tue, 22 Jul 2008 16:35:11 +0000 (-0400) Subject: hide magic self subscription X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ccfccfd645d5653040144a0f6884cbc5312b4fbd;p=quix0rs-gnu-social.git hide magic self subscription darcs-hash:20080722163511-84dde-3ac60595640e545335cc13d120f3e99ba5d1f513.gz --- diff --git a/actions/showstream.php b/actions/showstream.php index 87858e14b3..c05e30c392 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -271,11 +271,11 @@ class ShowstreamAction extends StreamAction { // XXX: WORM cache this $subs = DB_DataObject::factory('subscription'); $subs->subscriber = $profile->id; - $subs_count = (int) $subs->count(); + $subs_count = (int) $subs->count() - 1; $subbed = DB_DataObject::factory('subscription'); $subbed->subscribed = $profile->id; - $subbed_count = (int) $subbed->count(); + $subbed_count = (int) $subbed->count() - 1; $notices = DB_DataObject::factory('notice'); $notices->profile_id = $profile->id;