summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-03-08 01:30:11 +0100
committerAdrian Lang <mail@adrianlang.de>2009-03-08 01:37:27 +0100
commitf8d13817174a63dc8452ed60a00b7d336633fa88 (patch)
treed2751b77902d404977716cbb581bf413d9830456 /actions
parent60f737dc1eb2f126bae28ce095bc2d17a22bd7d9 (diff)
Corrected redirect targets for some group actions. These redirects can occur when the canonical name differs from the passed name.
Diffstat (limited to 'actions')
-rw-r--r--actions/grouplogo.php2
-rw-r--r--actions/joingroup.php2
-rw-r--r--actions/leavegroup.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/actions/grouplogo.php b/actions/grouplogo.php
index 499db4ae8..fe6127da2 100644
--- a/actions/grouplogo.php
+++ b/actions/grouplogo.php
@@ -83,7 +83,7 @@ class GrouplogoAction extends Action
if ($nickname_arg != $nickname) {
$args = array('nickname' => $nickname);
- common_redirect(common_local_url('editgroup', $args), 301);
+ common_redirect(common_local_url('grouplogo', $args), 301);
return false;
}
diff --git a/actions/joingroup.php b/actions/joingroup.php
index 1888ecdab..eeea4a37b 100644
--- a/actions/joingroup.php
+++ b/actions/joingroup.php
@@ -73,7 +73,7 @@ class JoingroupAction extends Action
if ($nickname_arg != $nickname) {
$args = array('nickname' => $nickname);
- common_redirect(common_local_url('editgroup', $args), 301);
+ common_redirect(common_local_url('joingroup', $args), 301);
return false;
}
diff --git a/actions/leavegroup.php b/actions/leavegroup.php
index c7152e3c0..1d85aa3d5 100644
--- a/actions/leavegroup.php
+++ b/actions/leavegroup.php
@@ -73,7 +73,7 @@ class LeavegroupAction extends Action
if ($nickname_arg != $nickname) {
$args = array('nickname' => $nickname);
- common_redirect(common_local_url('editgroup', $args), 301);
+ common_redirect(common_local_url('leavegroup', $args), 301);
return false;
}