summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/user_ldap.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-07-08 00:19:17 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-07-08 16:32:01 +0200
commit3338a0f236a5dc8722faccdaef5e8ab1ea73e841 (patch)
treeac6ea8b20cb95ee5cb7c776aa8db9bc6e12d0588 /apps/user_ldap/user_ldap.php
parent3e3d460729c515e5723587abc30b4d7955173d12 (diff)
downloadnextcloud-server-3338a0f236a5dc8722faccdaef5e8ab1ea73e841.tar.gz
nextcloud-server-3338a0f236a5dc8722faccdaef5e8ab1ea73e841.zip
port of #9500
don't trigger update from checkPassword, it is already called by userExists, this is enough. do not write to database when the value is the same add test cases. also split test classes in a file each, looks like only the first class is being executed also appconfig shall not write to database if the value is unchanged
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r--apps/user_ldap/user_ldap.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php
index 9fa2a6b418c..ae4dfec5118 100644
--- a/apps/user_ldap/user_ldap.php
+++ b/apps/user_ldap/user_ldap.php
@@ -73,7 +73,6 @@ class USER_LDAP extends BackendUtility implements \OCP\UserInterface {
}
$user->markLogin();
- $user->update();
return $user->getUsername();
}