[Pkg-owncloud-commits] [owncloud] 08/55: Revert "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 b442a9b4c9efe90f164de683cb7c4a773bba4563
Author: Lukas Reschke <lukas at statuscode.ch>
Date: Thu Mar 6 22:46:16 2014 +0100
Revert "Use $installedVersion instead of $currentVersion"
This reverts commit aef1e5112f0f4a64f814d78fccd738a842bd5730.
---
lib/updater.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/updater.php b/lib/updater.php
index 85a3a24..ec10377 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($installedVersion, '5.00.32', '<')) {
+ if (version_compare($currentVersion, '5.00.29', '<')) {
// 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