diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-15 17:08:14 +0100 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-01-18 12:36:53 +0100 |
commit | a77bab2f95d840e823a34aa3e019d12d1dee4484 (patch) | |
tree | 1e650a89dd0962f34925349f195f7d90eb255fca /apps/settings/lib/Controller/CheckSetupController.php | |
parent | 1334055ab8d07f2a02806dc68235413b72903218 (diff) | |
download | nextcloud-server-a77bab2f95d840e823a34aa3e019d12d1dee4484.tar.gz nextcloud-server-a77bab2f95d840e823a34aa3e019d12d1dee4484.zip |
Migrate set_time_limit setup check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/settings/lib/Controller/CheckSetupController.php')
-rw-r--r-- | apps/settings/lib/Controller/CheckSetupController.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index c94bc56c4ba..4d0070130e3 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -124,20 +124,6 @@ class CheckSetupController extends Controller { } /** - * Checks if set_time_limit is not disabled. - * - * @return bool - */ - private function isSettimelimitAvailable() { - if (function_exists('set_time_limit') - && !str_contains(ini_get('disable_functions'), 'set_time_limit')) { - return true; - } - - return false; - } - - /** * @NoCSRFRequired * @return RedirectResponse * @AuthorizedAdminSetting(settings=OCA\Settings\Settings\Admin\Overview) @@ -275,7 +261,6 @@ Raw output [ 'isFairUseOfFreePushService' => $this->isFairUseOfFreePushService(), 'reverseProxyDocs' => $this->urlGenerator->linkToDocs('admin-reverse-proxy'), - 'isSettimelimitAvailable' => $this->isSettimelimitAvailable(), 'areWebauthnExtensionsEnabled' => $this->areWebauthnExtensionsEnabled(), 'isMysqlUsedWithoutUTF8MB4' => $this->isMysqlUsedWithoutUTF8MB4(), 'isEnoughTempSpaceAvailableIfS3PrimaryStorageIsUsed' => $this->isEnoughTempSpaceAvailableIfS3PrimaryStorageIsUsed(), |