diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-09 16:07:40 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-09 16:07:40 +0000 |
commit | be1a87314916f11e074a0a63726320c84cedaf65 (patch) | |
tree | fecf5e24249b8c71673eb38231005d0a46e19455 /engine/lib/upgrade.php | |
parent | 2e51b49335c7cd23a7d64383621a7009368c16e3 (diff) | |
download | elgg-be1a87314916f11e074a0a63726320c84cedaf65.tar.gz elgg-be1a87314916f11e074a0a63726320c84cedaf65.tar.bz2 |
Refs #3241 sorting upgrades so that upgrades from old upgrade system are ordered in datalist array
git-svn-id: http://code.elgg.org/elgg/trunk@8966 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/upgrade.php')
-rw-r--r-- | engine/lib/upgrade.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/upgrade.php b/engine/lib/upgrade.php index 755c100dd..85810956b 100644 --- a/engine/lib/upgrade.php +++ b/engine/lib/upgrade.php @@ -147,6 +147,8 @@ function elgg_get_upgrade_files($upgrade_path = null) { $upgrade_files[] = $upgrade_file; } + sort($upgrade_files); + return $upgrade_files; } |