diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-11-07 17:38:39 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-11-07 17:38:39 +0100 |
commit | 7a94cade57d6c4514101c374d895ed278c05bbb1 (patch) | |
tree | 774de9d9c7c47a9e43c5ad6560bdea1a6bb94a7f /inc/common.php | |
parent | 0ae96b5697f1f1fe192e5eade99490c475467b84 (diff) | |
parent | eb97dcb864e05302756dcec4320c3c41866e4217 (diff) | |
download | rpg-7a94cade57d6c4514101c374d895ed278c05bbb1.tar.gz rpg-7a94cade57d6c4514101c374d895ed278c05bbb1.tar.bz2 |
Merge branch 'master' into stable
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/inc/common.php b/inc/common.php index 3e760419f..881179f4b 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1134,12 +1134,7 @@ function notify($id,$who,$rev='',$summary='',$minor=false,$replace=array()){ $subject = '['.utf8_substr($conf['title'], 0, 20).'...] '.$subject; } - $from = $conf['mailfrom']; - $from = str_replace('@USER@',$_SERVER['REMOTE_USER'],$from); - $from = str_replace('@NAME@',$INFO['userinfo']['name'],$from); - $from = str_replace('@MAIL@',$INFO['userinfo']['mail'],$from); - - mail_send($to,$subject,$text,$from,'',$bcc); + mail_send($to,$subject,$text,$conf['mailfrom'],'',$bcc); } /** |