From ea5b51325a85fb61b2b7f2217bbc186099a8d82c Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 4 Sep 2020 10:27:25 +0200 Subject: these code bits were part of old logic that was already refactored out - only references were in unit tests Signed-off-by: Arthur Schiwon --- apps/user_ldap/lib/User/User.php | 1 - apps/user_ldap/tests/User/UserTest.php | 1 - 2 files changed, 2 deletions(-) diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php index 467d5ca025b..89e5e54d26d 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/apps/user_ldap/lib/User/User.php @@ -195,7 +195,6 @@ class User { * @param array $ldapEntry the user entry as retrieved from LDAP */ public function processAttributes($ldapEntry) { - $this->markRefreshTime(); //Quota $attr = strtolower($this->connection->ldapQuotaAttribute); if(isset($ldapEntry[$attr])) { diff --git a/apps/user_ldap/tests/User/UserTest.php b/apps/user_ldap/tests/User/UserTest.php index 36a312172c1..66ba43f2e7d 100644 --- a/apps/user_ldap/tests/User/UserTest.php +++ b/apps/user_ldap/tests/User/UserTest.php @@ -1005,7 +1005,6 @@ class UserTest extends \Test\TestCase { public function testProcessAttributes() { $requiredMethods = [ - 'markRefreshTime', 'updateQuota', 'updateEmail', 'composeAndStoreDisplayName', -- cgit v1.2.3