]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Favorite/actions/disfavor.php
Local favoriting fills out content to saveActivity
[quix0rs-gnu-social.git] / plugins / Favorite / actions / disfavor.php
index ef9ee1ee2bb57681132622b67f267fc5e24667f2..3ce7e74c79e7e3fda655048cb86aa503a6fd4107 100644 (file)
@@ -73,7 +73,7 @@ class DisfavorAction extends FormAction
             // TRANS: Server error displayed when removing a favorite from the database fails.
             $this->serverError(_('Could not delete favorite.'));
         }
-        $this->scoped->blowFavesCache();
+        Fave::blowCacheForProfileId($this->scoped->id);
         if (StatusNet::isAjax()) {
             $this->startHTML('text/xml;charset=utf-8');
             $this->elementStart('head');