aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2025-03-03 11:38:39 +0100
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2025-03-06 15:49:25 +0100
commitf033ef7c18f87284c15a55321ec727b41836132c (patch)
tree7fc19609d8b52736440cfc83c8a03fbf09b4ddda /lib/base.php
parent7d64c63acf9cf5ef18dd36ccb1883a3540bf86c7 (diff)
downloadnextcloud-server-f033ef7c18f87284c15a55321ec727b41836132c.tar.gz
nextcloud-server-f033ef7c18f87284c15a55321ec727b41836132c.zip
fix: Migrate all uses of OCP\Template to OCP\Template\ITemplateManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 618b392e337..65cb6328754 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -824,7 +824,7 @@ class OC {
]
);
- $tmpl = new OCP\Template('core', 'untrustedDomain', 'guest');
+ $tmpl = Server::get(ITemplateManager::class)->getTemplate('core', 'untrustedDomain', 'guest');
$tmpl->assign('docUrl', Server::get(IURLGenerator::class)->linkToDocs('admin-trusted-domains'));
$tmpl->printPage();