]> git.mxchange.org Git - friendica.git/blobdiff - include/enotify.php
Fixed missing sudo, improved local mail in vagrant.
[friendica.git] / include / enotify.php
index 2c940f614b33f511fe50a6f7659006dddcc02cef..4327e75b837d5c25fb36fbad03c7f123e861b5eb 100644 (file)
@@ -23,12 +23,11 @@ function notification($params) {
        $site_admin = sprintf( t('%s Administrator'), $sitename);
        $nickname = "";
 
-       $sender_name = $product;
+       $sender_name = $sitename;
        $hostname = $a->get_hostname();
        if(strpos($hostname,':'))
                $hostname = substr($hostname,0,strpos($hostname,':'));
        
-       // $sender_email = t('noreply') . '@' . $hostname;
        $sender_email = $a->config['sender_email'];
        if (empty($sender_email)) {
                $sender_email = t('noreply') . '@' . $hostname;