[Pkg-owncloud-commits] [owncloud] 27/85: simpler and better readable assignment
David Prévot
taffit at moszumanska.debian.org
Tue Jun 17 19:12:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch 6.0
in repository owncloud.
commit 37ef48d9f4f8a4188a1bfd55dd3f86e618047b41
Author: Arthur Schiwon <blizzz at owncloud.com>
Date: Wed May 28 17:24:04 2014 +0200
simpler and better readable assignment
---
apps/user_ldap/appinfo/update.php | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/apps/user_ldap/appinfo/update.php b/apps/user_ldap/appinfo/update.php
index 47cc566..1e706ce 100644
--- a/apps/user_ldap/appinfo/update.php
+++ b/apps/user_ldap/appinfo/update.php
@@ -8,10 +8,7 @@ if($state === 'unset') {
}
$installedVersion = OCP\Config::getAppValue('user_ldap', 'installed_version');
-$enableRawMode = false;
-if (version_compare($installedVersion, '0.4.1', '<')) {
- $enableRawMode = true;
-}
+$enableRawMode = version_compare($installedVersion, '0.4.1', '<');
$configPrefixes = OCA\user_ldap\lib\Helper::getServerConfigurationPrefixes(true);
$ldap = new OCA\user_ldap\lib\LDAP();
--
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