Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
98fa9c87
Commit
98fa9c87
authored
Feb 10, 2009
by
Richard Mansfield
Browse files
Add comment to explain pieforms weirdness
parent
3eb0da77
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/group/members.php
View file @
98fa9c87
...
...
@@ -51,6 +51,15 @@ if (!empty($membershiptype) && $role != 'admin') {
$remove
=
param_variable
(
'removeuser'
,
null
);
$member
=
param_integer
(
'member'
,
null
);
if
(
$remove
&&
$member
)
{
// Create the remove user pieform for the user that's being removed.
// The form's submit function will be called as soon as the form
// is generated.
//
// We do this now because the user could be on the 2nd page of
// results, so their remove form might never get generated on
// this page. And also because generating the rest of the page
// would be a waste of time -- the submit function just redirects
// back here.
group_get_removeuser_form
(
$member
,
$group
->
id
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment