summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo/install.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-05-18 17:38:22 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-05-18 18:00:30 +0200
commitbae954a7972c84cfd71ced68173bde0e3b36a2eb (patch)
tree22cf05963f6a351a97d82e68495ffb6d67bd08db /apps/user_ldap/appinfo/install.php
parent792233805044ad21f91450a59cb0e32c6806acd5 (diff)
downloadnextcloud-server-bae954a7972c84cfd71ced68173bde0e3b36a2eb.tar.gz
nextcloud-server-bae954a7972c84cfd71ced68173bde0e3b36a2eb.zip
LDAP: only check once for name conflicts on update. Set a value on install as well
Diffstat (limited to 'apps/user_ldap/appinfo/install.php')
-rw-r--r--apps/user_ldap/appinfo/install.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/user_ldap/appinfo/install.php b/apps/user_ldap/appinfo/install.php
new file mode 100644
index 00000000000..9efc3bb24d2
--- /dev/null
+++ b/apps/user_ldap/appinfo/install.php
@@ -0,0 +1,6 @@
+<?php
+
+$state = OCP\Config::getSystemValue('ldapIgnoreNamingRules', 'doSet');
+if($state == 'doSet'){
+ OCP\Config::setSystemValue('ldapIgnoreNamingRules', false);
+}