summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-20 11:32:29 +0100
committerJoas Schilling <coding@schilljs.com>2017-03-20 11:32:29 +0100
commitb3556456b6c462874ce0c5f4adf22227a8a331fb (patch)
tree08117cb7c6ab6aec737b603299f393e93353150f /apps
parente8750f618b56c805015f2251f3ec707e2cf2f39b (diff)
downloadnextcloud-server-b3556456b6c462874ce0c5f4adf22227a8a331fb.tar.gz
nextcloud-server-b3556456b6c462874ce0c5f4adf22227a8a331fb.zip
Don't use private api
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/lib/ThemingDefaults.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php
index b84f7b25318..20625116213 100644
--- a/apps/theming/lib/ThemingDefaults.php
+++ b/apps/theming/lib/ThemingDefaults.php
@@ -28,6 +28,7 @@ use OCP\IConfig;
use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\Files\IRootFolder;
+use OCP\Util;
class ThemingDefaults extends \OC_Defaults {
@@ -101,7 +102,7 @@ class ThemingDefaults extends \OC_Defaults {
}
public function getSlogan() {
- return \OC_Util::sanitizeHTML($this->config->getAppValue('theming', 'slogan', $this->slogan));
+ return Util::sanitizeHTML($this->config->getAppValue('theming', 'slogan', $this->slogan));
}
public function getShortFooter() {