refactor
This commit is contained in:
@@ -10,4 +10,9 @@ class ClanInfo
|
||||
{
|
||||
return Db::getValue('select count(name) from clan where name = ? and status = 1', [$name]) > 0;
|
||||
}
|
||||
|
||||
public static function getNameById(int $id): string
|
||||
{
|
||||
Db::getValue('select name from clan where id = ?', [$id]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user