diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-03-07 01:44:33 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-03-07 01:44:33 +0400 |
commit | aef1e5112f0f4a64f814d78fccd738a842bd5730 (patch) | |
tree | adb2b1885f87f5725ebabc17ac8ee9f7588b486b /lib/updater.php | |
parent | b66b10b806e24b46cff608213ce849b5ffddd696 (diff) |
Use $installedVersion instead of $currentVersion
Diffstat (limited to 'lib/updater.php')
-rw-r--r-- | lib/updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/updater.php b/lib/updater.php index ec10377a4b9..85a3a24952c 100644 --- a/lib/updater.php +++ b/lib/updater.php @@ -101,7 +101,7 @@ class OC_Updater extends BasicEmitter { /* * START CONFIG CHANGES FOR OLDER VERSIONS */ - if (version_compare($currentVersion, '5.00.29', '<')) { + if (version_compare($installedVersion, '5.00.32', '<')) { // Add the overwriteHost config if it is not existant // This is added to prevent host header poisoning \OC_Config::setValue('trusted_domains', \OC_Config::getValue('trusted_domains', array(\OC_Request::serverHost()))); |