]> source.dussan.org Git - nextcloud-server.git/commitdiff
Don't use private api 3868/head
authorJoas Schilling <coding@schilljs.com>
Mon, 20 Mar 2017 10:32:29 +0000 (11:32 +0100)
committerJoas Schilling <coding@schilljs.com>
Mon, 20 Mar 2017 10:32:29 +0000 (11:32 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/theming/lib/ThemingDefaults.php

index b84f7b253182558dbdd8b7c043e4e470658f9028..20625116213e34667dc419a417b71c8869770990 100644 (file)
@@ -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() {