diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-22 12:35:11 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-22 12:35:11 -0400 |
commit | ccfccfd645d5653040144a0f6884cbc5312b4fbd (patch) | |
tree | 3ccfb588b530819697df28caf5725bf4f0a9b9a1 /actions | |
parent | 39de5b81b38fb3fb2724f31afc4dab9f55d20591 (diff) |
hide magic self subscription
darcs-hash:20080722163511-84dde-3ac60595640e545335cc13d120f3e99ba5d1f513.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/showstream.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/showstream.php b/actions/showstream.php index 87858e14b..c05e30c39 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; |