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