|
|
|
@ -226,7 +226,7 @@ class URLGenerator implements IURLGenerator {
|
|
|
|
|
$themingEnabled = $this->config->getSystemValueBool('installed', false) && $this->getAppManager()->isEnabledForUser('theming');
|
|
|
|
|
$themingImagePath = false;
|
|
|
|
|
if ($themingEnabled) {
|
|
|
|
|
$themingDefaults = \OC::$server->getThemingDefaults();
|
|
|
|
|
$themingDefaults = \OC::$server->get('ThemingDefaults');
|
|
|
|
|
if ($themingDefaults instanceof ThemingDefaults) {
|
|
|
|
|
$themingImagePath = $themingDefaults->replaceImagePath($appName, $file);
|
|
|
|
|
}
|
|
|
|
@ -299,7 +299,7 @@ class URLGenerator implements IURLGenerator {
|
|
|
|
|
* @return string url to the online documentation
|
|
|
|
|
*/
|
|
|
|
|
public function linkToDocs(string $key): string {
|
|
|
|
|
$theme = \OC::$server->getThemingDefaults();
|
|
|
|
|
$theme = \OC::$server->get('ThemingDefaults');
|
|
|
|
|
return $theme->buildDocLinkToKey($key);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|