aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/version.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-20 21:28:54 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-20 21:28:54 +0000
commit654daef7471f148ce24d9469c87ee34f6ccd6a45 (patch)
treef647eed496fb96864bfb62f4e2ecb7e2e8cfb5bd /engine/lib/version.php
parent1e5a6f5ba512107dc2c7f842d756015d04bc0999 (diff)
downloadelgg-654daef7471f148ce24d9469c87ee34f6ccd6a45.tar.gz
elgg-654daef7471f148ce24d9469c87ee34f6ccd6a45.tar.bz2
Fixes #3188. We no longer store the version as the key, so a standard sort will do.
git-svn-id: http://code.elgg.org/elgg/trunk@8787 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/version.php')
-rw-r--r--engine/lib/version.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/version.php b/engine/lib/version.php
index 84c291424..27f730c33 100644
--- a/engine/lib/version.php
+++ b/engine/lib/version.php
@@ -71,7 +71,7 @@ function upgrade_code($version, $quiet = FALSE) {
}
// Sort and execute
- ksort($upgrades);
+ sort($upgrades);
foreach ($upgrades as $upgrade) {
$upgrade_version = elgg_get_upgrade_file_version($upgrade);