summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-03-06 22:47:40 +0100
committerLukas Reschke <lukas@statuscode.ch>2014-03-06 22:47:40 +0100
commit25d9e415029581e2bd9fe5b0602c5fb11cace43c (patch)
treeadb2b1885f87f5725ebabc17ac8ee9f7588b486b /lib
parentb442a9b4c9efe90f164de683cb7c4a773bba4563 (diff)
downloadnextcloud-server-25d9e415029581e2bd9fe5b0602c5fb11cace43c.tar.gz
nextcloud-server-25d9e415029581e2bd9fe5b0602c5fb11cace43c.zip
Use $installedVersion instead of $currentVersion
Diffstat (limited to 'lib')
-rw-r--r--lib/updater.php2
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())));