hide magic self subscription

darcs-hash:20080722163511-84dde-3ac60595640e545335cc13d120f3e99ba5d1f513.gz
This commit is contained in:
Evan Prodromou 2008-07-22 12:35:11 -04:00
parent 39de5b81b3
commit ccfccfd645

View File

@ -271,11 +271,11 @@ class ShowstreamAction extends StreamAction {
// XXX: WORM cache this // XXX: WORM cache this
$subs = DB_DataObject::factory('subscription'); $subs = DB_DataObject::factory('subscription');
$subs->subscriber = $profile->id; $subs->subscriber = $profile->id;
$subs_count = (int) $subs->count(); $subs_count = (int) $subs->count() - 1;
$subbed = DB_DataObject::factory('subscription'); $subbed = DB_DataObject::factory('subscription');
$subbed->subscribed = $profile->id; $subbed->subscribed = $profile->id;
$subbed_count = (int) $subbed->count(); $subbed_count = (int) $subbed->count() - 1;
$notices = DB_DataObject::factory('notice'); $notices = DB_DataObject::factory('notice');
$notices->profile_id = $profile->id; $notices->profile_id = $profile->id;