Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-03-31 11:33:50 +0300
committerLouis Chemineau <louis@chmn.me>2022-03-31 11:33:50 +0300
commit64951ec14e7ba6d7f8baa819556ea6fa9d374b7a (patch)
treebabef72b5b05408947be23b270b7edd0502a9cb6 /apps/workflowengine
parentcf4c77e064fd52d891bc842d78431cceb2f34952 (diff)
Change script loading order in worflowenginefix/systemtag_loading
Fix: https://github.com/nextcloud/server/issues/31709 Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/workflowengine')
-rw-r--r--apps/workflowengine/lib/Listener/LoadAdditionalSettingsScriptsListener.php11
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');
}
}