mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-12 02:04:27 +02:00
Refactor dynamic App::getDBA() to static DI::dba()
This commit is contained in:
parent
9cec293ccc
commit
cc9b7bb14f
2 changed files with 2 additions and 12 deletions
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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue