Wrong variable name (s/fave/object/)

This commit is contained in:
Mikael Nordfeldth 2015-02-03 16:43:56 +01:00
parent 660e8c6efc
commit adc4dfc081
1 changed files with 2 additions and 2 deletions

View File

@ -348,8 +348,8 @@ class Fave extends Managed_DataObject
$object = self::parseActivityObject($actobj, $stored);
$object->insert(); // exception throwing in Fave's case!
self::blowCacheForProfileId($fave->user_id);
self::blowCacheForNoticeId($fave->notice_id);
self::blowCacheForProfileId($object->user_id);
self::blowCacheForNoticeId($object->notice_id);
self::blow('popular');
Event::handle('EndFavorNotice', array($stored->getProfile(), $object->getTarget()));