mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-18 03:33:26 +02:00
Move admin code to App\Admin class
Removed old myaac_admin_menu code Add logged() + accountLogged() functions
This commit is contained in:
@@ -110,7 +110,7 @@ if($action == 'edit' || $action == 'new') {
|
||||
$player->load($player_id);
|
||||
}
|
||||
|
||||
$account_players = $account_logged->getPlayersList();
|
||||
$account_players = accountLogged()->getPlayersList();
|
||||
$account_players->orderBy('group_id', POT::ORDER_DESC);
|
||||
$twig->display('admin.changelog.form.html.twig', array(
|
||||
'action' => $action,
|
||||
|
Reference in New Issue
Block a user