[Pkg-owncloud-commits] [owncloud] 07/55: Use $installedVersion instead of $currentVersion

David Prévot taffit at moszumanska.debian.org
Wed Apr 23 19:51:57 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v5.0.16RC1
in repository owncloud.

commit aef1e5112f0f4a64f814d78fccd738a842bd5730
Author: Lukas Reschke <lukas at statuscode.ch>
Date:   Thu Mar 6 22:44:33 2014 +0100

    Use $installedVersion instead of $currentVersion
---
 lib/updater.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/updater.php b/lib/updater.php
index ec10377..85a3a24 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()))); 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list