From ccfccfd645d5653040144a0f6884cbc5312b4fbd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 22 Jul 2008 12:35:11 -0400 Subject: [PATCH] hide magic self subscription darcs-hash:20080722163511-84dde-3ac60595640e545335cc13d120f3e99ba5d1f513.gz --- actions/showstream.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;