diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-06-19 07:48:44 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-06-19 09:43:44 +0200 |
commit | efb7448cd271f7f0cd21fd284fd1d3f9d729f20f (patch) | |
tree | ab0f73080b977d35be1d8b222c7dbe1bd2625e4e /apps/workflowengine/lib | |
parent | 4cd07d79a75e65865de7b2c8230ed2dd4b7eedef (diff) | |
download | nextcloud-server-efb7448cd271f7f0cd21fd284fd1d3f9d729f20f.tar.gz nextcloud-server-efb7448cd271f7f0cd21fd284fd1d3f9d729f20f.zip |
workflowengine: Stop using a service alias for controller
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/workflowengine/lib')
-rw-r--r-- | apps/workflowengine/lib/AppInfo/Application.php | 2 | ||||
-rw-r--r-- | apps/workflowengine/lib/Controller/RequestTimeController.php (renamed from apps/workflowengine/lib/Controller/RequestTime.php) | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/apps/workflowengine/lib/AppInfo/Application.php b/apps/workflowengine/lib/AppInfo/Application.php index 19ff530f2ae..ddf6bf30af6 100644 --- a/apps/workflowengine/lib/AppInfo/Application.php +++ b/apps/workflowengine/lib/AppInfo/Application.php @@ -27,7 +27,6 @@ namespace OCA\WorkflowEngine\AppInfo; use Closure; -use OCA\WorkflowEngine\Controller\RequestTime; use OCA\WorkflowEngine\Helper\LogContext; use OCA\WorkflowEngine\Listener\LoadAdditionalSettingsScriptsListener; use OCA\WorkflowEngine\Manager; @@ -53,7 +52,6 @@ class Application extends App implements IBootstrap { } public function register(IRegistrationContext $context): void { - $context->registerServiceAlias('RequestTimeController', RequestTime::class); $context->registerEventListener( LoadSettingsScriptsEvent::class, LoadAdditionalSettingsScriptsListener::class, diff --git a/apps/workflowengine/lib/Controller/RequestTime.php b/apps/workflowengine/lib/Controller/RequestTimeController.php index a1d9ff4a630..bb65e020c56 100644 --- a/apps/workflowengine/lib/Controller/RequestTime.php +++ b/apps/workflowengine/lib/Controller/RequestTimeController.php @@ -26,7 +26,7 @@ namespace OCA\WorkflowEngine\Controller; use OCP\AppFramework\Controller; use OCP\AppFramework\Http\JSONResponse; -class RequestTime extends Controller { +class RequestTimeController extends Controller { /** * @NoAdminRequired |