]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
redirect to outbox after posting
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 24 Sep 2008 21:04:59 +0000 (17:04 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 24 Sep 2008 21:04:59 +0000 (17:04 -0400)
darcs-hash:20080924210459-5ed1f-8fb83a73373b4077a47a7f78b26161adcbe1f977.gz

actions/newmessage.php

index 25ce6c694d0a1c1b3ad0be7791db7bf372c710d3..4867fe976513b718b2462c558fb191fc26ec3933 100644 (file)
@@ -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);
        }