From b3556456b6c462874ce0c5f4adf22227a8a331fb Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 20 Mar 2017 11:32:29 +0100 Subject: [PATCH] Don't use private api Signed-off-by: Joas Schilling --- apps/theming/lib/ThemingDefaults.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php index b84f7b2531..2062511621 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() {