mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Refactor OC\Server::getTrustedDomainHelper
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
This commit is contained in:
parent
a88c1bdfb6
commit
55eb6048fa
1 changed files with 1 additions and 1 deletions
|
|
@ -1174,7 +1174,7 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
$classExists = false;
|
||||
}
|
||||
|
||||
if ($classExists && $c->get(\OCP\IConfig::class)->getSystemValueBool('installed', false) && $c->get(IAppManager::class)->isInstalled('theming') && $c->getTrustedDomainHelper()->isTrustedDomain($c->getRequest()->getInsecureServerHost())) {
|
||||
if ($classExists && $c->get(\OCP\IConfig::class)->getSystemValueBool('installed', false) && $c->get(IAppManager::class)->isInstalled('theming') && $c->get(TrustedDomainHelper::class)->isTrustedDomain($c->getRequest()->getInsecureServerHost())) {
|
||||
$imageManager = new ImageManager(
|
||||
$c->get(\OCP\IConfig::class),
|
||||
$c->getAppDataDir('theming'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue