Merge pull request #895 from annando/tumblr-https
[friendica-addons.git/.git] / notifyall / notifyall.php
index ea6712f..58e5490 100644 (file)
@@ -14,6 +14,7 @@ use Friendica\Core\Config;
 use Friendica\Core\L10n;
 use Friendica\Core\Logger;
 use Friendica\Core\Renderer;
+use Friendica\Core\System;
 use Friendica\Util\Emailer;
 
 function notifyall_install()
@@ -54,7 +55,7 @@ function notifyall_post(App $a)
                $sender_name = '"' . L10n::t('%1$s, %2$s Administrator', Config::get('config', 'admin_name'), $sitename) . '"';
        }
 
-       if (! x(Config::get('config', 'sender_email'))) {
+       if (!Config::get('config', 'sender_email')) {
                $sender_email = 'noreply@' . $a->getHostName();
        } else {
                $sender_email = Config::get('config', 'sender_email');