]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Wrong variable name (s/fave/object/)
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Feb 2015 15:43:56 +0000 (16:43 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 3 Feb 2015 15:43:56 +0000 (16:43 +0100)
plugins/Favorite/classes/Fave.php

index 9ab9f9337b1b8d1e87b205aa06c90dbcb1d20054..916620a34c929d1abd478e9481309ca7e8d0fee0 100644 (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()));