summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-05-05 14:21:12 +0200
committerArthur Schiwon <blizzz@owncloud.com>2015-05-05 14:21:12 +0200
commit0e7fd82e89129a1ce2524d9f520b0aeb697563a3 (patch)
tree83cff538be7171b4b5953dbca17e4a4aa9bb9ac4 /apps
parent1c791e6000ca9b61bd6dac479c51bbde95851ef8 (diff)
downloadnextcloud-server-0e7fd82e89129a1ce2524d9f520b0aeb697563a3.tar.gz
nextcloud-server-0e7fd82e89129a1ce2524d9f520b0aeb697563a3.zip
cleanup
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/js/wizard/wizardTabElementary.js1
-rw-r--r--apps/user_ldap/lib/wizard.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabElementary.js b/apps/user_ldap/js/wizard/wizardTabElementary.js
index d123a1ea080..b8ab367dfd1 100644
--- a/apps/user_ldap/js/wizard/wizardTabElementary.js
+++ b/apps/user_ldap/js/wizard/wizardTabElementary.js
@@ -207,7 +207,6 @@ OCA = OCA || {};
*/
onNewConfiguration: function(view, result) {
if(result.isSuccess === true) {
- console.log('new config');
var nthServer = view._configChooserNextServerNumber;
view.$configChooser.find('option:selected').removeAttr('selected');
var html = '<option value="'+result.configPrefix+'" selected="selected">'+t('user_ldap','{nthServer}. Server', {nthServer: nthServer})+'</option>';
diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php
index 7bb5752352f..824923eecbf 100644
--- a/apps/user_ldap/lib/wizard.php
+++ b/apps/user_ldap/lib/wizard.php
@@ -958,7 +958,6 @@ class Wizard extends LDAPUtility {
$userAttributes = array_change_key_case(array_flip($userAttributes));
$parts = 0;
- $x = $this->configuration->ldapLoginFilterUsername;
if($this->configuration->ldapLoginFilterUsername === '1') {
$attr = '';
if(isset($userAttributes['uid'])) {