mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
Merge pull request #2875 from Hypolite/bug/profiler-small-bugfix
Fix $a to #this in save_timestamp
This commit is contained in:
commit
71f9e50014
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -1100,7 +1100,7 @@ class App {
|
|||
}
|
||||
|
||||
function save_timestamp($stamp, $value) {
|
||||
if (!isset($a->config['system']['profiler']) || !$a->config['system']['profiler'])
|
||||
if (!isset($this->config['system']['profiler']) || !$this->config['system']['profiler'])
|
||||
return;
|
||||
|
||||
$duration = (float)(microtime(true)-$stamp);
|
||||
|
|
Loading…
Reference in a new issue