Don't use private api

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-03-20 11:32:29 +01:00
parent e8750f618b
commit b3556456b6
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 2 additions and 1 deletions

View 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() {