diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-03-06 22:40:25 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-03-17 13:27:42 +0100 |
commit | 239069c8386a1a4ec29594d392e8359b8914af47 (patch) | |
tree | f7cac584caea86c1699370b3d768004143b98f23 /lib | |
parent | df7853363ad9566f73dbd897b53229cd4640361e (diff) | |
download | nextcloud-server-239069c8386a1a4ec29594d392e8359b8914af47.tar.gz nextcloud-server-239069c8386a1a4ec29594d392e8359b8914af47.zip |
Use $installedVersion instead of $currentVersion
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php index dd8dc84e804..edde42136e9 100644 --- a/lib/private/updater.php +++ b/lib/private/updater.php @@ -108,7 +108,7 @@ class Updater extends BasicEmitter { /* * START CONFIG CHANGES FOR OLDER VERSIONS */ - if (!\OC::$CLI && version_compare($currentVersion, '6.90.1', '<')) { + if (!\OC::$CLI && version_compare($installedVersion, '6.90.1', '<')) { // 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()))); |