mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Continued with #3010:
- removed added debug messages (maybe they will come back in accordance to code-style guidelines?) - converted $a->get_baseurl() back to App::get_baseurl() - reverted back other code I have touched/merged as this was double: (substr($url, 0, 4) !== 'http') on $url = 'https://bla'; will be FALSE (means found http at start), too. Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
4b860e7575
commit
23d4db5149
5 changed files with 16 additions and 27 deletions
|
@ -721,7 +721,7 @@ function check_item_notification($itemid, $uid, $defaulttype = "") {
|
|||
$params["to_email"] = $user[0]["email"];
|
||||
$params["item"] = $item[0];
|
||||
$params["parent"] = $item[0]["parent"];
|
||||
$params["link"] = $a->get_baseurl().'/display/'.urlencode($item[0]["guid"]);
|
||||
$params["link"] = App::get_baseurl().'/display/'.urlencode($item[0]["guid"]);
|
||||
$params["otype"] = 'item';
|
||||
$params["source_name"] = $item[0]["author-name"];
|
||||
$params["source_link"] = $item[0]["author-link"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue