mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-30 03:09:22 +02:00
No foreach needed here
This commit is contained in:
parent
58feff50c6
commit
45af46b3c1
@ -85,12 +85,8 @@ if($email_new_time > 1)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$actions = array();
|
$actions = $account_logged->getActionsLog(1000);
|
||||||
foreach($account_logged->getActionsLog(1000) as $action) {
|
|
||||||
$actions[] = array('action' => $action['action'], 'date' => $action['date'], 'ip' => $action['ip']);
|
|
||||||
}
|
|
||||||
|
|
||||||
$players = array();
|
|
||||||
/** @var OTS_Players_List $account_players */
|
/** @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