summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-07-28 15:45:44 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2016-07-28 17:49:08 +0200
commit2f574f60ec4434f994c6568e1c8bd7b5846ec75a (patch)
tree9b9952b6b38f854eb72c86c75796906fca4ac8a3 /apps
parentba558664cfcfb22a703be6e544fae4808bee5046 (diff)
downloadnextcloud-server-2f574f60ec4434f994c6568e1c8bd7b5846ec75a.tar.gz
nextcloud-server-2f574f60ec4434f994c6568e1c8bd7b5846ec75a.zip
Remove useless check
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/settings/settings-admin.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/theming/settings/settings-admin.php b/apps/theming/settings/settings-admin.php
index d9aa05cfca0..8ef499789e8 100644
--- a/apps/theming/settings/settings-admin.php
+++ b/apps/theming/settings/settings-admin.php
@@ -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);