diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-04-05 18:57:55 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-04-05 19:29:54 +0200 |
commit | 9cb992e93c7c0fbf816323381f8ee082cf3f073f (patch) | |
tree | e2bf00ec4d7361a82600bf051ff5286436536168 /apps/updatenotification/l10n | |
parent | 9c84aa5870204a871024ca18b4994ed40defdd9b (diff) | |
download | nextcloud-server-9cb992e93c7c0fbf816323381f8ee082cf3f073f.tar.gz nextcloud-server-9cb992e93c7c0fbf816323381f8ee082cf3f073f.zip |
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>
Diffstat (limited to 'apps/updatenotification/l10n')
0 files changed, 0 insertions, 0 deletions