[Pkg-owncloud-commits] [owncloud-client] 71/470: Revert "AccountManager: take theURL from the Theme rather than from the config if the theme specify it"
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu May 12 16:24:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 1fafb1325b525970db8bed6a669dc39e5ea757e4
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Thu Feb 25 11:33:26 2016 +0100
Revert "AccountManager: take theURL from the Theme rather than from the config if the theme specify it"
The URL may change from shiboleth to normal authentication method.
Also some people were changing the config file manually to test stuff
Issue https://github.com/owncloud/enterprise/issues/1113
This reverts commit 7e5d89293d7bd52ac42d026d34a8154fbbdf33bb.
---
src/gui/accountmanager.cpp | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/gui/accountmanager.cpp b/src/gui/accountmanager.cpp
index 590bfb6..0b5eed4 100644
--- a/src/gui/accountmanager.cpp
+++ b/src/gui/accountmanager.cpp
@@ -194,14 +194,7 @@ AccountPtr AccountManager::load(QSettings& settings)
{
auto acc = createAccount();
- QString overrideUrl = Theme::instance()->overrideServerUrl();
- if( !overrideUrl.isEmpty() ) {
- // if there is a overrideUrl, don't even bother reading from the config as all the accounts
- // must use the overrideUrl
- acc->setUrl(overrideUrl);
- } else {
- acc->setUrl(settings.value(QLatin1String(urlC)).toUrl());
- }
+ acc->setUrl(settings.value(QLatin1String(urlC)).toUrl());
// We want to only restore settings for that auth type and the user value
acc->_settingsMap.insert(QLatin1String(userC), settings.value(userC));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list