nextcloud-server/tests/lib/Accounts
Carl Schwan eef973e85b Minor optimizations for saving user personal information
* Remove double hook: the OC_User::changeUser triggers an
OC\AccountManager::userUpdated and the app is already listening to this
signal in its Application definition

* Make createCard not check if an card exists if we already checked
  previously. We also don't try to get the card if the user is disabled
  as we don't use the card in this case

We this change we go from 100 DB requests to 80 DB requests when saving
an user email address.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit c6fd482edf33214a9ad4787e4cac278f871fa7c8)
2022-05-12 21:02:52 +07:00
..
AccountManagerTest.php Minor optimizations for saving user personal information 2022-05-12 21:02:52 +07:00
AccountPropertyCollectionTest.php add IAccountPropertyCollection with implementation 2021-06-03 20:49:49 +07:00
AccountPropertyTest.php Fix test 2022-01-11 12:54:41 +07:00
AccountTest.php Add method to set all account properties from json 2022-03-17 16:33:19 +07:00
HooksTest.php accounts event handler to use eventdispatcher, DI and Accounts API 2021-06-30 00:41:11 +07:00