summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-09-24 17:04:59 -0400
committerEvan Prodromou <evan@controlyourself.ca>2008-09-24 17:04:59 -0400
commit362a854cb1e8da0cc8c0cfc812a1949ef463772d (patch)
treef60dce600104ab99278d420e42e4c05821901681
parent72b4196db1d2d2baffd84983dfb7e11f03a9f1aa (diff)
redirect to outbox after posting
darcs-hash:20080924210459-5ed1f-8fb83a73373b4077a47a7f78b26161adcbe1f977.gz
-rw-r--r--actions/newmessage.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/actions/newmessage.php b/actions/newmessage.php
index 25ce6c694..4867fe976 100644
--- a/actions/newmessage.php
+++ b/actions/newmessage.php
@@ -81,8 +81,7 @@ class NewmessageAction extends Action {
$this->notify($user, $other, $message);
- $url = common_local_url('showmessage',
- array('message' => $message->id));
+ $url = common_local_url('outbox');
common_redirect($url, 303);
}