Skip to content

Commit

Permalink
Merge pull request #566 from ONLYOFFICE/feature/desktop-sync
Browse files Browse the repository at this point in the history
connect hook to register
  • Loading branch information
LinneyS authored Jan 20, 2022
2 parents 249d217 + 137e70c commit 57ab1d6
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 57ab1d6

Please sign in to comment.