bug #439 - remove web port number from notification email "from" address

This commit is contained in:
friendica 2012-06-02 18:23:54 -07:00
parent 4978ee12d1
commit 3d39e6e594

View file

@ -20,6 +20,9 @@ function notification($params) {
$sender_name = $product; $sender_name = $product;
$hostname = $a->get_hostname(); $hostname = $a->get_hostname();
if(strpos($hostname,':'))
$hostname = substr($hostname,0,strpos($hostname,':'));
$sender_email = t('noreply') . '@' . $hostname; $sender_email = t('noreply') . '@' . $hostname;
$additional_mail_header = ""; $additional_mail_header = "";