Commit 25960bc0 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

changed redirects from group/owned.php to group/mygroups.php

parent 8c9e46b9
......@@ -82,7 +82,7 @@ function creategroup_validate(Pieform $form, $values) {
}
function creategroup_cancel_submit() {
redirect('/group/owned.php');
redirect('/group/mygroups.php');
}
function creategroup_submit(Pieform $form, $values) {
......@@ -136,7 +136,7 @@ function creategroup_submit(Pieform $form, $values) {
db_commit();
redirect('/group/owned.php');
redirect('/group/mygroups.php');
}
$smarty = smarty();
......
......@@ -36,7 +36,7 @@ $group_data = get_record('group', 'id', $id, 'owner', $USER->get('id'));
if (!$group_data) {
$SESSION->add_error_msg(get_string('canteditdontown'));
redirect('/group/owned.php');
redirect('/group/mygroups.php');
}
$joinoptions = array(
......@@ -97,7 +97,7 @@ function editgroup_validate(Pieform $form, $values) {
}
function editgroup_cancel_submit() {
redirect('/group/owned.php');
redirect('/group/mygroups.php');
}
function editgroup_submit(Pieform $form, $values) {
......@@ -124,7 +124,7 @@ function editgroup_submit(Pieform $form, $values) {
db_commit();
redirect('/group/owned.php');
redirect('/group/mygroups.php');
}
$smarty = smarty();
......
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