hide magic self subscription
darcs-hash:20080722163511-84dde-3ac60595640e545335cc13d120f3e99ba5d1f513.gz
This commit is contained in:
parent
39de5b81b3
commit
ccfccfd645
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user