diff --git a/app/Transformers/CountryTransformer.php b/app/Transformers/CountryTransformer.php index 6c19cb1f7b8..3680bce5ec6 100644 --- a/app/Transformers/CountryTransformer.php +++ b/app/Transformers/CountryTransformer.php @@ -9,11 +9,6 @@ class CountryTransformer extends TransformerAbstract { - protected array $availableIncludes = [ - 'display', - 'ranking', - ]; - public function transform(Country $country) { return [ @@ -21,19 +16,4 @@ public function transform(Country $country) 'name' => $country->name, ]; } - - public function includeDisplay(Country $country) - { - return $this->primitive($country->display); - } - - public function includeRanking(Country $country) - { - return $this->primitive([ - 'active_users' => $country->usercount, - 'play_count' => $country->playcount, - 'ranked_score' => $country->rankedscore, - 'performance' => $country->pp, - ]); - } }