Replaced direct calls to App->user
This commit is contained in:
parent
2d4ecd5ccf
commit
e823a1bd05
10 changed files with 12 additions and 12 deletions
|
@ -200,7 +200,7 @@ function advancedcontentfilter_content(App $a)
|
|||
}
|
||||
|
||||
if (DI::args()->getArgc() > 1 && DI::args()->getArgv()[1] == 'help') {
|
||||
$lang = $a->user['language'];
|
||||
$lang = $a->getUserValue('language');
|
||||
|
||||
$default_dir = 'addon/advancedcontentfilter/doc/';
|
||||
$help_file = 'advancedcontentfilter.md';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue