mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 18:11:02 -04:00
Sort the list before saving
This commit is contained in:
parent
e4d5229940
commit
fc08f71c12
1 changed files with 2 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ class UpdateJS extends Command {
|
|||
|
||||
//Remove duplicates
|
||||
$files = array_values(array_unique($files));
|
||||
sort($files);
|
||||
|
||||
// Fetch all themes!
|
||||
$themes = [];
|
||||
|
|
@ -100,6 +101,7 @@ class UpdateJS extends Command {
|
|||
|
||||
//Remove Duplicates
|
||||
$themes[$theme] = array_values(array_unique($themes[$theme]));
|
||||
sort($themes[$theme]);
|
||||
}
|
||||
|
||||
//Generate the JS
|
||||
|
|
|
|||
Loading…
Reference in a new issue