mirror of
https://github.com/friendica/friendica
synced 2025-04-26 18:30:11 +00:00
Dependency of callstack moved one layer up
This commit is contained in:
parent
5e6e1a8025
commit
0a7861da65
12 changed files with 39 additions and 40 deletions
|
@ -7,6 +7,7 @@
|
|||
namespace Friendica\Content\Text;
|
||||
|
||||
use Friendica\BaseObject;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Model\Contact;
|
||||
use Michelf\MarkdownExtra;
|
||||
|
||||
|
@ -36,7 +37,7 @@ class Markdown extends BaseObject
|
|||
$html = $MarkdownParser->transform($text);
|
||||
$html = preg_replace('/<a(.*?)href="#/is', '<a$1href="' . ltrim($_SERVER['REQUEST_URI'], '/') . '#', $html);
|
||||
|
||||
self::getApp()->getProfiler()->saveTimestamp($stamp1, "parser");
|
||||
self::getApp()->getProfiler()->saveTimestamp($stamp1, "parser", System::callstack());
|
||||
|
||||
return $html;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue