mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-12 07:44:29 +02:00
Add some useful hints
This commit is contained in:
parent
065661e419
commit
092a03e2cf
@ -61,6 +61,9 @@ $errors = array();
|
|||||||
if($action == '')
|
if($action == '')
|
||||||
{
|
{
|
||||||
$freePremium = isset($config['lua']['freePremium']) && getBoolean($config['lua']['freePremium']);
|
$freePremium = isset($config['lua']['freePremium']) && getBoolean($config['lua']['freePremium']);
|
||||||
|
/**
|
||||||
|
* @var OTS_Account $account_logged
|
||||||
|
*/
|
||||||
$recovery_key = $account_logged->getCustomField('key');
|
$recovery_key = $account_logged->getCustomField('key');
|
||||||
if(!$account_logged->isPremium())
|
if(!$account_logged->isPremium())
|
||||||
$account_status = '<b><span style="color: red">Free Account</span></b>';
|
$account_status = '<b><span style="color: red">Free Account</span></b>';
|
||||||
@ -111,6 +114,7 @@ $errors = array();
|
|||||||
}
|
}
|
||||||
|
|
||||||
$players = array();
|
$players = array();
|
||||||
|
/** @var OTS_Players_List $account_players */
|
||||||
$account_players = $account_logged->getPlayersList();
|
$account_players = $account_logged->getPlayersList();
|
||||||
$account_players->orderBy('id');
|
$account_players->orderBy('id');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user