aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-09 16:07:40 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-09 16:07:40 +0000
commitbe1a87314916f11e074a0a63726320c84cedaf65 (patch)
treefecf5e24249b8c71673eb38231005d0a46e19455 /engine/lib
parent2e51b49335c7cd23a7d64383621a7009368c16e3 (diff)
downloadelgg-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')
-rw-r--r--engine/lib/upgrade.php2
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;
}