summaryrefslogtreecommitdiffstats
path: root/lib/private/AppFramework/Bootstrap
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-02-10 15:41:25 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-02-10 15:41:25 +0100
commit25f9203a702cb71be5221214d9c46869b1c2cb79 (patch)
treeb7e0ebb6f301662af7a0d2b787cd3895ada691f3 /lib/private/AppFramework/Bootstrap
parent2f26ff40e9aaabd1c8cc2167dea2158a22b1961f (diff)
downloadnextcloud-server-25f9203a702cb71be5221214d9c46869b1c2cb79.tar.gz
nextcloud-server-25f9203a702cb71be5221214d9c46869b1c2cb79.zip
Fix remaining #25359
As a wise man once said: "I like PRs that pass tests before merging" C. Wurst, Feb 9th 2021 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AppFramework/Bootstrap')
-rw-r--r--lib/private/AppFramework/Bootstrap/RegistrationContext.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/private/AppFramework/Bootstrap/RegistrationContext.php b/lib/private/AppFramework/Bootstrap/RegistrationContext.php
index 619e4f55011..fc13a78f3d3 100644
--- a/lib/private/AppFramework/Bootstrap/RegistrationContext.php
+++ b/lib/private/AppFramework/Bootstrap/RegistrationContext.php
@@ -271,10 +271,7 @@ class RegistrationContext {
}
public function registerTemplateProvider(string $appId, string $class): void {
- $this->templateProviders[] = [
- 'appId' => $appId,
- 'class' => $class,
- ];
+ $this->templateProviders[] = new ServiceRegistration($appId, $class);
}
/**