X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FApp.php;h=892a4c7790e4955283f13f05de000326e3f92645;hb=16c2705016554289b8e2644d8f2093fb0f16178a;hp=ceb11dd797ecdb567691e59208d82343d54626da;hpb=d5a473abdaa019b6b3747ef6ee15c6202cec839b;p=friendica.git diff --git a/src/App.php b/src/App.php index ceb11dd797..892a4c7790 100644 --- a/src/App.php +++ b/src/App.php @@ -242,27 +242,6 @@ class App $this->baseURL->get(); } - /** - * Generates the site's default sender email address - * - * @return string - * @throws HTTPException\InternalServerErrorException - */ - public function getSenderEmailAddress() - { - $sender_email = $this->config->get('config', 'sender_email'); - if (empty($sender_email)) { - $hostname = $this->baseURL->getHostname(); - if (strpos($hostname, ':')) { - $hostname = substr($hostname, 0, strpos($hostname, ':')); - } - - $sender_email = 'noreply@' . $hostname; - } - - return $sender_email; - } - /** * Returns the current theme name. May be overriden by the mobile theme name. *