diff options
author | Joas Schilling <coding@schilljs.com> | 2016-07-15 08:46:31 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-07-15 09:17:30 +0200 |
commit | 2c988ecbf498bebd8ac904e0c457521350cf469f (patch) | |
tree | 9a5be8451b1c763c5009b89f52993372cacaf735 /lib/private/URLGenerator.php | |
parent | e8d6621a2485196c66d0743df3072da3b9e9c36b (diff) | |
download | nextcloud-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.php | 4 |
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); } } |