mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 09:04:26 +02:00
Refactor dynamic App::getProfiler() to static DI::profiler()
This commit is contained in:
parent
e2b2778e0a
commit
181529f3df
12 changed files with 22 additions and 30 deletions
10
src/App.php
10
src/App.php
|
@ -155,16 +155,6 @@ class App
|
|||
return $this->config->getCache()->get('system', 'basepath');
|
||||
}
|
||||
|
||||
/**
|
||||
* The profiler of this app
|
||||
*
|
||||
* @return Profiler
|
||||
*/
|
||||
public function getProfiler()
|
||||
{
|
||||
return $this->profiler;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the Mode of the Application
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue