Refactor dynamic App::getDBA() to static DI::dba()

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

View file

@ -155,16 +155,6 @@ class App
return $this->config->getCache()->get('system', 'basepath');
}
/**
* Returns the Database of the Application
*
* @return Database
*/
public function getDBA()
{
return $this->database;
}
/**
* @deprecated 2019.09 - use Page->registerStylesheet instead
* @see Page::registerStylesheet()