Replace with get('groups')

This commit is contained in:
slawkens
2025-03-16 08:43:18 +01:00
parent fddb18d412
commit 613b710d29
8 changed files with 8 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ $title = 'Support in game';
if(setting('core.account_country'))
require SYSTEM . 'countries.conf.php';
$groups = new OTS_Groups_List();
$groups = app()->get('groups');
if(!$groups->count())
{
echo 'Error while reading groups.xml';