mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-23 03:27:14 +00:00
feat: Admin log in descending order
This commit is contained in:
@@ -1060,7 +1060,7 @@ class MYSQLi_DB {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getAdminLog() {
|
function getAdminLog() {
|
||||||
$q = "SELECT id,user,log,time from " . TB_PREFIX . "admin_log where id != 0 ORDER BY id ASC";
|
$q = "SELECT id,user,log,time from " . TB_PREFIX . "admin_log where id != 0 ORDER BY id DESC";
|
||||||
$result = mysqli_query($this->dblink,$q);
|
$result = mysqli_query($this->dblink,$q);
|
||||||
return $this->mysqli_fetch_all($result);
|
return $this->mysqli_fetch_all($result);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user