[Pkg-owncloud-commits] [owncloud] 15/85: get the correct version number for compare -.-

David Prévot taffit at moszumanska.debian.org
Tue Jun 17 19:12:40 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 c18f2943d523f7be5bb76100ebe8e5741aa932e7
Author: Arthur Schiwon <blizzz at owncloud.com>
Date:   Wed May 14 12:01:41 2014 +0200

    get the correct version number for compare -.-
---
 apps/user_ldap/appinfo/update.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/user_ldap/appinfo/update.php b/apps/user_ldap/appinfo/update.php
index 073e8be..8bf532f 100644
--- a/apps/user_ldap/appinfo/update.php
+++ b/apps/user_ldap/appinfo/update.php
@@ -7,7 +7,7 @@ if($state === 'unset') {
 	OCP\Config::setSystemValue('ldapIgnoreNamingRules', false);
 }
 
-$installedVersion = OCP\Config::getAppValue('files_sharing', 'installed_version');
+$installedVersion = OCP\Config::getAppValue('user_ldap', 'installed_version');
 $enableRawMode = false;
 if (version_compare($installedVersion, '0.4.1', '<')) {
 	$enableRawMode = true;

-- 
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