nextcloud/apps/settings/lib
Vincent Petry 2143f2bb82
Set up FS before querying storage info in settings
The personal info section of the personal settings is querying the
storage quota information. For this it requires the FS to be setup which
is not always guaranteed.

This fixes an issue where refreshing the settings page would cause it to
fail after Redis caches are full. It is likely that when Redis cache is
populated, some code path is initializing the FS, so it works so far.
But when the cache is populated, that code path is skipped so the FS is
not guaranteed to be setup...

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-13 17:06:37 +01:00
..
Activity Update license headers for 19 2020-04-29 11:57:22 +02:00
AppInfo Remove unneeded service - found by Psalm 2020-11-03 10:06:33 +01:00
BackgroundJobs Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Controller Create primary keys on all tables and add a command to create the afterwards 2020-11-10 15:36:27 +01:00
Events Document settings BeforeTemplateRenderedEvent 2020-10-29 11:15:31 +01:00
Mailer Use the new method everywhere 2020-07-03 10:59:43 +02:00
Middleware Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00
Search Remove ISection in favor of IIconSection 2020-10-28 23:05:00 +01:00
Sections Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Settings Set up FS before querying storage info in settings 2020-11-13 17:06:37 +01:00
SetupChecks Add a background job that checks for potential user imported SSL certificates and shows a warning in the admin settings 2020-11-03 10:06:33 +01:00
Hooks.php Update the license headers for Nextcloud 20 2020-08-24 14:54:25 +02:00