diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-29 18:08:54 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-10-02 18:00:23 +0200 |
commit | bb136b9adf021cb154ff05222d3439373312bbc5 (patch) | |
tree | a6fccf936b0a40c7d48d55a23f4897b0332c3192 /settings/ajax/userlist.php | |
parent | 210ea4d9d9a3488918c898beb6d6508c60686ad1 (diff) | |
download | nextcloud-server-bb136b9adf021cb154ff05222d3439373312bbc5.tar.gz nextcloud-server-bb136b9adf021cb154ff05222d3439373312bbc5.zip |
Make the settings ajax calls use the router
Diffstat (limited to 'settings/ajax/userlist.php')
-rw-r--r-- | settings/ajax/userlist.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/settings/ajax/userlist.php b/settings/ajax/userlist.php index 840b6d72dc7..61b1a388fc3 100644 --- a/settings/ajax/userlist.php +++ b/settings/ajax/userlist.php @@ -20,8 +20,6 @@ * */ -require_once '../../lib/base.php'; - OC_JSON::callCheck(); OC_JSON::checkSubAdminUser(); if (isset($_GET['offset'])) { @@ -49,4 +47,4 @@ if (OC_Group::inGroup(OC_User::getUser(), 'admin')) { 'quota' => OC_Preferences::getValue($user, 'files', 'quota', 'default')); } } -OC_JSON::success(array('data' => $users));
\ No newline at end of file +OC_JSON::success(array('data' => $users)); |