We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f68d5d1 + 93a3b7b commit 0f926e0Copy full SHA for 0f926e0
apps/workflowengine/lib/AppInfo/Application.php
@@ -21,9 +21,6 @@
21
22
namespace OCA\WorkflowEngine\AppInfo;
23
24
-use OCP\Util;
25
-use OCP\WorkflowEngine\RegisterCheckEvent;
26
-
27
class Application extends \OCP\AppFramework\App {
28
29
public function __construct() {
@@ -41,6 +38,11 @@ public function registerHooksAndListeners() {
41
38
$dispatcher->addListener(
42
39
'OCP\WorkflowEngine::loadAdditionalSettingScripts',
43
40
function() {
+ if (!function_exists('style')) {
+ // This is hacky, but we need to load the template class
+ class_exists('OCP\Template', true);
44
+ }
45
+
46
style('workflowengine', [
47
'admin',
48
]);
0 commit comments