diff options
Diffstat (limited to 'apps/workflowengine/lib/AppInfo/Application.php')
-rw-r--r-- | apps/workflowengine/lib/AppInfo/Application.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/workflowengine/lib/AppInfo/Application.php b/apps/workflowengine/lib/AppInfo/Application.php index 3fee0c3bb8e..358353b6623 100644 --- a/apps/workflowengine/lib/AppInfo/Application.php +++ b/apps/workflowengine/lib/AppInfo/Application.php @@ -27,8 +27,10 @@ use OCA\WorkflowEngine\Controller\FlowOperations; class Application extends \OCP\AppFramework\App { + const APP_ID = 'workflowengine'; + public function __construct() { - parent::__construct('workflowengine'); + parent::__construct(self::APP_ID); $this->getContainer()->registerAlias('FlowOperationsController', FlowOperations::class); $this->getContainer()->registerAlias('RequestTimeController', RequestTime::class); @@ -47,7 +49,7 @@ class Application extends \OCP\AppFramework\App { class_exists(Template::class, true); } - style('workflowengine', [ + style(self::APP_ID, [ 'admin', ]); @@ -59,7 +61,7 @@ class Application extends \OCP\AppFramework\App { 'systemtags/systemtagscollection', ]); - script('workflowengine', [ + script(self::APP_ID, [ 'workflowengine', ]); }, |