Issue 1769: Some enhancements for sending wall mails
This commit is contained in:
parent
d40f32cc55
commit
77f7619720
2 changed files with 9 additions and 8 deletions
|
|
@ -48,7 +48,7 @@ function wallmessage_post(&$a) {
|
|||
$body = str_replace("\r\n","\n",$body);
|
||||
$body = str_replace("\n\n","\n",$body);
|
||||
|
||||
|
||||
|
||||
$ret = send_wallmessage($user, $body, $subject, $replyto);
|
||||
|
||||
switch($ret){
|
||||
|
|
@ -68,8 +68,8 @@ function wallmessage_post(&$a) {
|
|||
info( t('Message sent.') . EOL );
|
||||
}
|
||||
|
||||
// goaway($a->get_baseurl() . '/profile/' . $user['nickname']);
|
||||
|
||||
goaway('profile/'.$user['nickname']);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue