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

github.com/nextcloud/firstrunwizard.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-08-14 09:49:55 +0300
committerJulius Härtl <jus@bitgrid.net>2020-08-14 09:49:55 +0300
commit528a37fbcbeb6eaf9150af97a13f96b4704fb33f (patch)
tree4e73048482aefe19135bb90eb39f3fe74794d1f1 /lib/AppInfo
parentf1e70529b035b227317807d79a06a4b37ff32df5 (diff)
Trigger the firstrunwizard on any app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/AppInfo')
-rw-r--r--lib/AppInfo/Application.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php
index 333df9f2..95ecc213 100644
--- a/lib/AppInfo/Application.php
+++ b/lib/AppInfo/Application.php
@@ -25,7 +25,6 @@ namespace OCA\FirstRunWizard\AppInfo;
use OCA\Files\Event\LoadAdditionalScriptsEvent;
use OCA\FirstRunWizard\Listener\AppEnabledListener;
-use OCA\FirstRunWizard\Listener\BeforeFilesAppTemplateRenderedListener;
use OCA\FirstRunWizard\Listener\BeforeTemplateRenderedListener;
use OCA\FirstRunWizard\Notification\Notifier;
use OCP\App\ManagerEvent;
@@ -44,8 +43,6 @@ class Application extends App implements IBootstrap {
public function register(IRegistrationContext $context): void {
$context->registerEventListener(ManagerEvent::EVENT_APP_ENABLE, AppEnabledListener::class);
$context->registerEventListener(BeforeTemplateRenderedEvent::class, BeforeTemplateRenderedListener::class);
- // Display the first run wizard only on the files app,
- $context->registerEventListener(LoadAdditionalScriptsEvent::class, BeforeFilesAppTemplateRenderedListener::class);
}
public function boot(IBootContext $context): void {