mirror of
https://github.com/friendica/friendica
synced 2025-04-19 22:30:20 +00: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
|
@ -17,7 +17,7 @@ class Home extends BaseModule
|
|||
public static function content(array $parameters = [])
|
||||
{
|
||||
$app = DI::app();
|
||||
$config = $app->getConfig();
|
||||
$config = DI::config();
|
||||
|
||||
// currently no returned data is used
|
||||
$ret = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue