Commit 824261d8 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Update membership in user object when creating a group

parent aaef4d06
......@@ -126,6 +126,8 @@ function creategroup_submit(Pieform $form, $values) {
)
);
$USER->reset_grouproles();
$SESSION->add_ok_msg(get_string('groupsaved', 'group'));
db_commit();
......
......@@ -1403,7 +1403,7 @@ class View {
}
}
}
log_debug($data);
return (object) array(
'data' => $data,
'count' => $count,
......
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