Refactor dynamic App::getConfig() to static DI::config()
This commit is contained in:
@@ -15,7 +15,7 @@ class XSocialRelay extends BaseModule
|
||||
public static function rawContent(array $parameters = [])
|
||||
{
|
||||
$app = DI::app();
|
||||
$config = $app->getConfig();
|
||||
$config = DI::config();
|
||||
|
||||
$subscribe = $config->get('system', 'relay_subscribe', false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user