summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-03-06 22:40:25 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-17 13:27:42 +0100
commit239069c8386a1a4ec29594d392e8359b8914af47 (patch)
treef7cac584caea86c1699370b3d768004143b98f23 /lib
parentdf7853363ad9566f73dbd897b53229cd4640361e (diff)
downloadnextcloud-server-239069c8386a1a4ec29594d392e8359b8914af47.tar.gz
nextcloud-server-239069c8386a1a4ec29594d392e8359b8914af47.zip
Use $installedVersion instead of $currentVersion
Diffstat (limited to 'lib')
-rw-r--r--lib/private/updater.php2
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())));