]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Favorite/actions/apifavoritecreate.php
More Favorite pluginification (favecount, cache, menus(favecount, cache, menus))
[quix0rs-gnu-social.git] / plugins / Favorite / actions / apifavoritecreate.php
index dd4fbd27957468d391d23a4901c6218d18fb069c..00c1e21bbf7b169f81459edc8de264935017c7c9 100644 (file)
@@ -141,7 +141,7 @@ class ApiFavoriteCreateAction extends ApiAuthAction
         }
 
         $this->notify($fave, $this->notice, $this->user);
-        $this->user->blowFavesCache();
+        Fave::blowCacheForProfileId($this->user->id);
 
         if ($this->format == 'xml') {
             $this->showSingleXmlStatus($this->notice);