]> git.mxchange.org Git - friendica.git/commitdiff
Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls
authornupplaPhil <admin@philipp.info>
Sat, 18 Jan 2020 19:56:28 +0000 (20:56 +0100)
committernupplaPhil <admin@philipp.info>
Sun, 19 Jan 2020 15:31:20 +0000 (16:31 +0100)
mod/poke.php

index ea968f7bd0b9c8e3fcb0cfe31a2cafa6daac421b..949bbd5ae8ed567d2d766546d038249f58e15fa2 100644 (file)
@@ -40,7 +40,7 @@ function poke_init(App $a)
 
        $verb = Strings::escapeTags(trim($_GET['verb']));
 
-       $verbs = L10n::getPokeVerbs();
+       $verbs = DI::l10n()->getPokeVerbs();
 
        if (!array_key_exists($verb, $verbs)) {
                return;
@@ -164,7 +164,7 @@ function poke_content(App $a)
        $parent = (!empty($_GET['parent']) ? intval($_GET['parent']) : '0');
 
 
-       $verbs = L10n::getPokeVerbs();
+       $verbs = DI::l10n()->getPokeVerbs();
 
        $shortlist = [];
        foreach ($verbs as $k => $v) {