mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Refactor dynamic App::getConfig() to static DI::config()
This commit is contained in:
parent
2bb9e46be3
commit
fceb4f3823
21 changed files with 38 additions and 66 deletions
10
src/App.php
10
src/App.php
|
@ -144,16 +144,6 @@ class App
|
|||
return $this->config->getCache();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the current config of this node
|
||||
*
|
||||
* @return Configuration
|
||||
*/
|
||||
public function getConfig()
|
||||
{
|
||||
return $this->config;
|
||||
}
|
||||
|
||||
/**
|
||||
* The basepath of this app
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue