[Pkg-owncloud-commits] [owncloud] 29/134: Use $installedVersion instead of $currentVersion
David Prévot
taffit at moszumanska.debian.org
Fri Apr 18 21:43:57 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit ce5f8d72a414a5b562abd2d0a3b3517cbd5320a5
Author: Lukas Reschke <lukas at statuscode.ch>
Date: Thu Mar 6 22:43:08 2014 +0100
Use $installedVersion instead of $currentVersion
Additionally use 6.00.4 as the internal version has been changed
---
lib/private/updater.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/updater.php b/lib/private/updater.php
index a34df94..643d2ea 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())));
--
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