Commit 3276abeb authored by Aaron Wells's avatar Aaron Wells Committed by Gerrit Code Review
Browse files

Make the message "Compose" button return you to the "Sent messages" screen

Bug 1387511: Also making the "Sent messages" screen into the default return
screen regardless of how you got to the Compose screen.

Change-Id: Ifa3d48fa4cc1cd15a6ae3218915f336216cc6473
parent cd1d8434
......@@ -153,16 +153,14 @@ switch ($returnto) {
case 'inbox':
$goto = 'account/activity';
break;
case 'outbox':
$goto = 'artefact/multirecipientnotification/outbox.php';
break;
case 'institution':
$goto = ($inst = param_alpha('inst', null))
? 'institution/index.php?institution=' . $inst
: 'account/activity';
break;
default:
$goto = 'user/myfriends.php';
$goto = 'artefact/multirecipientnotification/outbox.php';
break;
}
if ($offset > 0) {
$goto .= (strpos($goto,'?')) ? '&offset=' . $offset : '?offset=' . $offset;
......
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