Refactor dynamic App::getDBA() to static DI::dba()
This commit is contained in:
10
src/App.php
10
src/App.php
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user