Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-12-17 18:04:20 +0400
committerFrank Karlitschek <frank@owncloud.org>2012-12-17 18:04:20 +0400
commit0fbc105e8d8bcb4019b97ec60e74051a1bdbb388 (patch)
treea4110837d3854becc8803d6bb387b88a5e0333c3 /django_auth
parent968ac3e06f4aa180a0ea9b201072783a675e60bd (diff)
check if admin
Diffstat (limited to 'django_auth')
-rw-r--r--django_auth/settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/django_auth/settings.php b/django_auth/settings.php
index 314a26d46..36e45724e 100644
--- a/django_auth/settings.php
+++ b/django_auth/settings.php
@@ -20,6 +20,8 @@
*
*/
+OC_Util::checkAdminUser();
+
$params = array('staff_is_admin', 'superuser_is_admin');
if ($_POST) {