nextcloud-server/lib/private/Accounts
Carl Schwan 9cb992e93c Cache account information
Currently, each field of the profile settings is fetching the account
information. This patch makes it so that only the first time do a DB call
and all the later ones are cached.

Reduce by 5 queries when loading the profile setting page and I suppose
other pages are affected since loading a page generates always fetch at
least once the account information to see if the profile feature is enabled
for the user.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-05 19:29:54 +07:00
..
Account.php Add method to set all account properties from json 2022-03-17 16:33:19 +07:00
AccountManager.php Cache account information 2022-04-05 19:29:54 +07:00
AccountProperty.php Fix undefined/unset scope in account properties 2022-01-11 10:15:06 +07:00
AccountPropertyCollection.php Fix ArrayAccess and JsonSerializable return types 2021-11-23 09:28:56 +07:00
Hooks.php fix code style 2021-06-30 00:45:49 +07:00
TAccountsHelper.php Add new account properties 2021-10-19 04:44:40 +07:00