summaryrefslogtreecommitdiffstats
path: root/lib/private/URLGenerator.php
diff options
context:
space:
mode:
authorBjörn Schießle <bjoern@schiessle.org>2016-07-18 15:59:47 +0200
committerGitHub <noreply@github.com>2016-07-18 15:59:47 +0200
commitea470f877760c72b1e8b865ba600d5bd483027c0 (patch)
tree3b4c4fa327d8e6521c782e6e45f1d73eb95d70ec /lib/private/URLGenerator.php
parent68735c188c0f9777f932f55b1c290039c9d6e433 (diff)
parentec6f6969789ca2f455c0d2fd04557337c782176b (diff)
downloadnextcloud-server-ea470f877760c72b1e8b865ba600d5bd483027c0.tar.gz
nextcloud-server-ea470f877760c72b1e8b865ba600d5bd483027c0.zip
Merge pull request #405 from nextcloud/theming-fixes
Theming fixes
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);
}
}