diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-03-31 13:27:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-31 13:27:36 +0200 |
commit | 87e079d2ad46cd68cc6693467aa0b855719f7585 (patch) | |
tree | dda9864535f838f3497f9c54cf5d8f13babe149b /apps/workflowengine | |
parent | dd357d7f9b4f40e8d3f5cd5dfe2aa37663c049b1 (diff) | |
parent | 64951ec14e7ba6d7f8baa819556ea6fa9d374b7a (diff) | |
download | nextcloud-server-87e079d2ad46cd68cc6693467aa0b855719f7585.tar.gz nextcloud-server-87e079d2ad46cd68cc6693467aa0b855719f7585.zip |
Merge pull request #31770 from nextcloud/fix/systemtag_loading
Change script loading order in worflowengine
Diffstat (limited to 'apps/workflowengine')
-rw-r--r-- | apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php b/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php index 6c38051d41a..a3806799ff0 100644 --- a/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php +++ b/apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php @@ -32,7 +32,7 @@ use OCP\EventDispatcher\IEventListener; use OCP\Template; use function class_exists; use function function_exists; -use function script; +use OCP\Util; class LoadAdditionalSettingsScriptsListener implements IEventListener { public function handle(Event $event): void { @@ -41,10 +41,9 @@ class LoadAdditionalSettingsScriptsListener implements IEventListener { class_exists(Template::class, true); } - script('core', 'systemtags'); - - script(Application::APP_ID, [ - 'workflowengine', - ]); + Util::addScript('core', 'files_fileinfo'); + Util::addScript('core', 'files_client'); + Util::addScript('core', 'systemtags'); + Util::addScript(Application::APP_ID, 'workflowengine'); } } |