mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
Remove useless check
This commit is contained in:
parent
ba558664cf
commit
2f574f60ec
1 changed files with 1 additions and 3 deletions
|
|
@ -23,8 +23,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
\OC_Util::checkAdminUser();
|
||||
|
||||
$config = \OC::$server->getConfig();
|
||||
$l = \OC::$server->getL10N('theming');
|
||||
$urlGenerator = \OC::$server->getURLGenerator();
|
||||
|
|
@ -40,7 +38,7 @@ if ($theme !== '') {
|
|||
$errorMessage = $l->t('You already use a custom theme');
|
||||
}
|
||||
|
||||
$template = new OCP\Template('theming', 'settings-admin');
|
||||
$template = new \OCP\Template('theming', 'settings-admin');
|
||||
|
||||
$template->assign('themable', $themable);
|
||||
$template->assign('errorMessage', $errorMessage);
|
||||
|
|
|
|||
Loading…
Reference in a new issue