@@ -627,7 +627,7 @@ public function __construct($webRoot, \OC\Config $config) {
627627 $ this ->registerService (IFactory::class, function (Server $ c ) {
628628 return new \OC \L10N \Factory (
629629 $ c ->get (\OCP \IConfig::class),
630- $ c ->getRequest ( ),
630+ $ c ->get (IRequest::class ),
631631 $ c ->get (IUserSession::class),
632632 $ c ->get (ICacheFactory::class),
633633 \OC ::$ SERVERROOT
@@ -707,7 +707,7 @@ public function __construct($webRoot, \OC\Config $config) {
707707 $ this ->registerService (\OCP \Activity \IManager::class, function (Server $ c ) {
708708 $ l10n = $ this ->get (IFactory::class)->get ('lib ' );
709709 return new \OC \Activity \Manager (
710- $ c ->getRequest ( ),
710+ $ c ->get (IRequest::class ),
711711 $ c ->get (IUserSession::class),
712712 $ c ->get (\OCP \IConfig::class),
713713 $ c ->get (IValidator::class),
@@ -1161,7 +1161,7 @@ public function __construct($webRoot, \OC\Config $config) {
11611161 $ classExists = false ;
11621162 }
11631163
1164- if ($ classExists && $ c ->get (\OCP \IConfig::class)->getSystemValueBool ('installed ' , false ) && $ c ->get (IAppManager::class)->isInstalled ('theming ' ) && $ c ->getTrustedDomainHelper ()->isTrustedDomain ($ c ->getRequest ( )->getInsecureServerHost ())) {
1164+ if ($ classExists && $ c ->get (\OCP \IConfig::class)->getSystemValueBool ('installed ' , false ) && $ c ->get (IAppManager::class)->isInstalled ('theming ' ) && $ c ->getTrustedDomainHelper ()->isTrustedDomain ($ c ->get (IRequest::class )->getInsecureServerHost ())) {
11651165 $ imageManager = new ImageManager (
11661166 $ c ->get (\OCP \IConfig::class),
11671167 $ c ->getAppDataDir ('theming ' ),
0 commit comments