From bb136b9adf021cb154ff05222d3439373312bbc5 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Sat, 29 Sep 2012 18:08:54 +0200 Subject: Make the settings ajax calls use the router --- settings/ajax/userlist.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'settings/ajax/userlist.php') 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)); -- cgit v1.2.3