forked from GNUsocial/gnu-social
blowSubscriberCount and blowSubscriptionCount - no 's'
This commit is contained in:
parent
295e05ea39
commit
c85228eadc
@ -88,8 +88,8 @@ class Subscription extends Memcached_DataObject
|
|||||||
|
|
||||||
self::blow('user:notices_with_friends:%d', $subscriber->id);
|
self::blow('user:notices_with_friends:%d', $subscriber->id);
|
||||||
|
|
||||||
$subscriber->blowSubscriptionsCount();
|
$subscriber->blowSubscriptionCount();
|
||||||
$other->blowSubscribersCount();
|
$other->blowSubscriberCount();
|
||||||
|
|
||||||
$otherUser = User::staticGet('id', $other->id);
|
$otherUser = User::staticGet('id', $other->id);
|
||||||
|
|
||||||
@ -213,8 +213,8 @@ class Subscription extends Memcached_DataObject
|
|||||||
|
|
||||||
self::blow('user:notices_with_friends:%d', $subscriber->id);
|
self::blow('user:notices_with_friends:%d', $subscriber->id);
|
||||||
|
|
||||||
$subscriber->blowSubscriptionsCount();
|
$subscriber->blowSubscriptionCount();
|
||||||
$other->blowSubscribersCount();
|
$other->blowSubscriberCount();
|
||||||
|
|
||||||
Event::handle('EndUnsubscribe', array($subscriber, $other));
|
Event::handle('EndUnsubscribe', array($subscriber, $other));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user