Commit 3a532a44 authored by Ruslan Kabalin's avatar Ruslan Kabalin Committed by Francois Marier
Browse files

Rename group/membersearchresults.php file to .json.php


Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
Signed-off-by: default avatarFrancois Marier <francois@catalyst.net.nz>
parent 3c07972e
......@@ -40,7 +40,7 @@ $limit = param_integer('limit', 10);
define('GROUP', $id);
$group = group_current_group();
if (!is_logged_in() && !$group->public) {
throw new AccessDeniedException();
throw new AccessDeniedException(get_string('accessdenied', 'error'));
}
$membershiptype = param_variable('membershiptype', '');
......
......@@ -839,7 +839,7 @@ function group_get_membersearch_data($group, $query, $offset, $limit, $membershi
'limit' => $limit,
'offset' => $offset,
'datatable' => 'membersearchresults',
'jsonscript' => 'group/membersearchresults.php',
'jsonscript' => 'group/membersearchresults.json.php',
'firsttext' => '',
'previoustext' => '',
'nexttext' => '',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment