diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-06-29 16:29:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-29 16:29:34 +0200 |
commit | 682faad0b35efe2ab6d19d1531abe54231d778bf (patch) | |
tree | 164a89a29f9ec227a9dacbbdc66754e3d5e0c841 /apps/settings/lib | |
parent | 02983f331743542594ce51f57c419205a13a378a (diff) | |
parent | 4f7907612c858cdfdfcc50580b9e48a1058dfb6b (diff) | |
download | nextcloud-server-682faad0b35efe2ab6d19d1531abe54231d778bf.tar.gz nextcloud-server-682faad0b35efe2ab6d19d1531abe54231d778bf.zip |
Merge pull request #46009 from nextcloud/refactor/ajax-cron
refactor(cron): Use `IAppConfig` for cron settings and migrate ajax cron away from jQuery
Diffstat (limited to 'apps/settings/lib')
-rw-r--r-- | apps/settings/lib/Settings/Admin/Server.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Settings/Admin/Server.php b/apps/settings/lib/Settings/Admin/Server.php index 79fcba6b92f..d96228e6ec6 100644 --- a/apps/settings/lib/Settings/Admin/Server.php +++ b/apps/settings/lib/Settings/Admin/Server.php @@ -41,7 +41,7 @@ class Server implements IDelegatedSettings { $cliBasedCronUser = $cliBasedCronPossible ? (posix_getpwuid($ownerConfigFile)['name'] ?? '') : ''; // Background jobs - $this->initialStateService->provideInitialState('backgroundJobsMode', $this->config->getAppValue('core', 'backgroundjobs_mode', 'ajax')); + $this->initialStateService->provideInitialState('backgroundJobsMode', $this->appConfig->getValueString('core', 'backgroundjobs_mode', 'ajax')); $this->initialStateService->provideInitialState('lastCron', $this->appConfig->getValueInt('core', 'lastcron', 0)); $this->initialStateService->provideInitialState('cronMaxAge', $this->cronMaxAge()); $this->initialStateService->provideInitialState('cronErrors', $this->config->getAppValue('core', 'cronErrors')); |