Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2014-03-07 01:47:40 +0400
committerLukas Reschke <lukas@statuscode.ch>2014-03-07 01:47:40 +0400
commit25d9e415029581e2bd9fe5b0602c5fb11cace43c (patch)
treeadb2b1885f87f5725ebabc17ac8ee9f7588b486b /lib/updater.php
parentb442a9b4c9efe90f164de683cb7c4a773bba4563 (diff)
Use $installedVersion instead of $currentVersion
Diffstat (limited to 'lib/updater.php')
-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())));