Commit 800a1465 authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Remove unused 'returnto' element from view submission form



The returnto parameter is ignored in the form's submit function
group_view_submission_form_submit (this form used to appear on My
Views, and needed to remember where to redirect to).

Change-Id: I671e4f78a294b68fe88c8ee1a04619bb24672171
Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
parent 1fa9875b
......@@ -1238,10 +1238,6 @@ function group_view_submission_form($groupid, $viewdata) {
'type' => 'hidden',
'value' => $groupid
),
'returnto' => array(
'type' => 'hidden',
'value' => get_config('wwwroot') . 'group/view.php?id=' . $groupid,
),
),
));
}
......
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