Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls
This commit is contained in:
parent
5e188d17f9
commit
67f2066b8b
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ function poke_init(App $a)
|
||||||
|
|
||||||
$verb = Strings::escapeTags(trim($_GET['verb']));
|
$verb = Strings::escapeTags(trim($_GET['verb']));
|
||||||
|
|
||||||
$verbs = L10n::getPokeVerbs();
|
$verbs = DI::l10n()->getPokeVerbs();
|
||||||
|
|
||||||
if (!array_key_exists($verb, $verbs)) {
|
if (!array_key_exists($verb, $verbs)) {
|
||||||
return;
|
return;
|
||||||
|
@ -164,7 +164,7 @@ function poke_content(App $a)
|
||||||
$parent = (!empty($_GET['parent']) ? intval($_GET['parent']) : '0');
|
$parent = (!empty($_GET['parent']) ? intval($_GET['parent']) : '0');
|
||||||
|
|
||||||
|
|
||||||
$verbs = L10n::getPokeVerbs();
|
$verbs = DI::l10n()->getPokeVerbs();
|
||||||
|
|
||||||
$shortlist = [];
|
$shortlist = [];
|
||||||
foreach ($verbs as $k => $v) {
|
foreach ($verbs as $k => $v) {
|
||||||
|
|
Loading…
Reference in a new issue