Commit cb720edc authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review
Browse files

Merge "Bug 1755331: make the pieform for copying group views available"

parents 27c3f938 5ccfbdd3
......@@ -32,6 +32,12 @@ if (!is_logged_in() && !$group->public) {
throw new AccessDeniedException();
if ($usetemplate = param_integer('usetemplate', null)) {
// If a form has been submitted, build it now and pieforms will
// call the submit function straight away
pieform(create_view_form(null, null, $usetemplate));
define('TITLE', $group->name);
define('SUBSECTIONHEADING', get_string('about'));
$group->role = group_user_access($group->id);
Supports Markdown
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