X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FFavorite%2Factions%2Fapifavoritecreate.php;fp=plugins%2FFavorite%2Factions%2Fapifavoritecreate.php;h=00c1e21bbf7b169f81459edc8de264935017c7c9;hb=7e597ea7cc85c3b7c7226d443b21fb3252c8fd7e;hp=dd4fbd27957468d391d23a4901c6218d18fb069c;hpb=c137ead909eddd4a6c08333c42079cba271091bf;p=quix0rs-gnu-social.git diff --git a/plugins/Favorite/actions/apifavoritecreate.php b/plugins/Favorite/actions/apifavoritecreate.php index dd4fbd2795..00c1e21bbf 100644 --- a/plugins/Favorite/actions/apifavoritecreate.php +++ b/plugins/Favorite/actions/apifavoritecreate.php @@ -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);