mirror of
https://github.com/friendica/friendica
synced 2025-04-26 07:50:15 +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 HostMeta extends BaseModule
|
|||
public static function rawContent(array $parameters = [])
|
||||
{
|
||||
$app = DI::app();
|
||||
$config = $app->getConfig();
|
||||
$config = DI::config();
|
||||
|
||||
header('Content-type: text/xml');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue