Refactor dynamic App::getMode() to static DI::mode()

This commit is contained in:
nupplaPhil 2019-12-15 23:52:15 +01:00
parent 181529f3df
commit 9cec293ccc
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
6 changed files with 13 additions and 21 deletions

View file

@ -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
*