mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Update obsolete App::getBaseUrl calls to DI::baseUrl
This commit is contained in:
parent
c03588f0b4
commit
905823ea63
38 changed files with 510 additions and 480 deletions
|
@ -95,7 +95,7 @@ function mailstream_addon_admin_post ($a) {
|
|||
|
||||
function mailstream_generate_id($a, $uri) {
|
||||
// http://www.jwz.org/doc/mid.html
|
||||
$host = $a->getHostName();
|
||||
$host = DI::baseUrl()->getHostname();
|
||||
$resource = hash('md5', $uri);
|
||||
$message_id = "<" . $resource . "@" . $host . ">";
|
||||
Logger::debug('mailstream: Generated message ID ' . $message_id . ' for URI ' . $uri);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue