diff options
author | provokateurin <kate@provokateurin.de> | 2024-07-25 13:14:51 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-07-27 21:36:15 +0200 |
commit | e64667df377604c772baec9e24290d2e9944b442 (patch) | |
tree | c4a1cca703409340147b561270cb5334c034072d /apps/workflowengine/lib/Controller/RequestTimeController.php | |
parent | 212a621697cd32b65ea78fa90015cec9d9d1dfe3 (diff) | |
download | nextcloud-server-e64667df377604c772baec9e24290d2e9944b442.tar.gz nextcloud-server-e64667df377604c772baec9e24290d2e9944b442.zip |
refactor(workflowengine): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/workflowengine/lib/Controller/RequestTimeController.php')
-rw-r--r-- | apps/workflowengine/lib/Controller/RequestTimeController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/workflowengine/lib/Controller/RequestTimeController.php b/apps/workflowengine/lib/Controller/RequestTimeController.php index 6c0d9d8d467..1aca5d92d2d 100644 --- a/apps/workflowengine/lib/Controller/RequestTimeController.php +++ b/apps/workflowengine/lib/Controller/RequestTimeController.php @@ -6,16 +6,16 @@ namespace OCA\WorkflowEngine\Controller; use OCP\AppFramework\Controller; +use OCP\AppFramework\Http\Attribute\NoAdminRequired; use OCP\AppFramework\Http\JSONResponse; class RequestTimeController extends Controller { /** - * @NoAdminRequired - * * @param string $search * @return JSONResponse */ + #[NoAdminRequired] public function getTimezones($search = '') { $timezones = \DateTimeZone::listIdentifiers(); |