Skip to content

Commit

Permalink
connect hook to register (Fix #562)
Browse files Browse the repository at this point in the history
  • Loading branch information
Antipkin-A authored and LinneyS committed Jan 20, 2022
1 parent 249d217 commit 137e70c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appinfo/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ public function register(IRegistrationContext $context): void {
$detector->getAllMappings();
$detector->registerType("docxf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf");
$detector->registerType("oform", "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform");

Hooks::connectHooks();
}

public function boot(IBootContext $context): void {
Expand Down Expand Up @@ -279,7 +281,5 @@ function (FileCreatedFromTemplateEvent $event) {
}
});
}

Hooks::connectHooks();
}
}

0 comments on commit 137e70c

Please sign in to comment.