From: nupplaPhil Date: Sat, 18 Jan 2020 19:56:28 +0000 (+0100) Subject: Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=67f2066b8b5a6c5f5b7d2a784517b7dc8e7d8a1f;p=friendica.git Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls --- diff --git a/mod/poke.php b/mod/poke.php index ea968f7bd0..949bbd5ae8 100644 --- a/mod/poke.php +++ b/mod/poke.php @@ -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) {