[TWIG] Remove kludge event TwigPopulateVars

This commit is contained in:
2021-09-18 07:27:17 +01:00
parent fda998e335
commit 67d62cf37b
15 changed files with 112 additions and 147 deletions

View File

@@ -265,7 +265,7 @@ class Actor extends Entity
Cache::delete('selftags-' . $this->id);
}
public function getFollowersCount()
public function getSubscribersCount()
{
return Cache::get('followers-' . $this->id,
function () {
@@ -274,7 +274,7 @@ class Actor extends Entity
});
}
public function getFollowedCount()
public function getSubscriptionsCount()
{
return Cache::get('followed-' . $this->id,
function () {