aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/URLGenerator.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-15 08:46:31 +0200
committerJoas Schilling <coding@schilljs.com>2016-07-15 09:17:30 +0200
commit2c988ecbf498bebd8ac904e0c457521350cf469f (patch)
tree9a5be8451b1c763c5009b89f52993372cacaf735 /lib/private/URLGenerator.php
parente8d6621a2485196c66d0743df3072da3b9e9c36b (diff)
downloadnextcloud-server-2c988ecbf498bebd8ac904e0c457521350cf469f.tar.gz
nextcloud-server-2c988ecbf498bebd8ac904e0c457521350cf469f.zip
Use the themed Defaults everywhere
Diffstat (limited to 'lib/private/URLGenerator.php')
-rw-r--r--lib/private/URLGenerator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/URLGenerator.php b/lib/private/URLGenerator.php
index 9ae99d67bc6..c7b2b222faf 100644
--- a/lib/private/URLGenerator.php
+++ b/lib/private/URLGenerator.php
@@ -29,7 +29,7 @@
*/
namespace OC;
-use OC_Defaults;
+use OCP\Defaults;
use OCP\ICacheFactory;
use OCP\IConfig;
use OCP\IURLGenerator;
@@ -222,7 +222,7 @@ class URLGenerator implements IURLGenerator {
* @return string url to the online documentation
*/
public function linkToDocs($key) {
- $theme = new OC_Defaults();
+ $theme = \OC::$server->getThemingDefaults();
return $theme->buildDocLinkToKey($key);
}
}