Sort backups newest to oldest (#2624)
Viewing the backup list produces a seemingly random list. This PR sorts the files newest to oldest.
This commit is contained in:
parent
8233d520c6
commit
46507c929a
1 changed files with 3 additions and 3 deletions
|
@ -482,7 +482,7 @@ class SettingsController extends Controller
|
|||
|
||||
}
|
||||
closedir($handle);
|
||||
$files = array_reverse($files);
|
||||
rsort($files)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue