summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-03-06 22:43:08 +0100
committerLukas Reschke <lukas@statuscode.ch>2014-03-06 22:43:08 +0100
commitce5f8d72a414a5b562abd2d0a3b3517cbd5320a5 (patch)
treeff2136f8acf2f7915bbef36a46c6cb32ee8efce7 /lib
parentc358373dfa1e6c011a9ab7e1ce8aa48e8d15615f (diff)
downloadnextcloud-server-ce5f8d72a414a5b562abd2d0a3b3517cbd5320a5.tar.gz
nextcloud-server-ce5f8d72a414a5b562abd2d0a3b3517cbd5320a5.zip
Use $installedVersion instead of $currentVersion
Additionally use 6.00.4 as the internal version has been changed
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 a34df942f28..643d2ea97b0 100644
--- a/lib/private/updater.php
+++ b/lib/private/updater.php
@@ -106,7 +106,7 @@ class Updater extends BasicEmitter {
/*
* START CONFIG CHANGES FOR OLDER VERSIONS
*/
- if (version_compare($currentVersion, '6.00.1', '<')) {
+ if (version_compare($installedVersion, '6.00.4', '<')) {
// 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())));