summaryrefslogtreecommitdiffstats
path: root/settings/ajax/creategroup.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/creategroup.php')
-rw-r--r--settings/ajax/creategroup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/creategroup.php b/settings/ajax/creategroup.php
index 57d82e7bd94..faeccf48b58 100644
--- a/settings/ajax/creategroup.php
+++ b/settings/ajax/creategroup.php
@@ -1,7 +1,7 @@
<?php
// Init owncloud
-require_once('../../lib/base.php');
+
// Check if we are a user
if( !OC_User::isLoggedIn() || !OC_Group::inGroup( OC_User::getUser(), 'admin' )){