]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_poll.php
Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls
[friendica.git] / mod / dfrn_poll.php
index 3e193e2a3a579390f49b84cdf4febc2d91b40520..e18874481358a8c9dff1a287bcc4def209f84ac2 100644 (file)
@@ -121,7 +121,7 @@ function dfrn_poll_init(App $a)
                                        Session::setVisitorsContacts();
 
                                        if (!$quiet) {
-                                               info(L10n::t('%1$s welcomes %2$s', $r[0]['username'], $r[0]['name']) . EOL);
+                                               info(DI::l10n()->t('%1$s welcomes %2$s', $r[0]['username'], $r[0]['name']) . EOL);
                                        }
 
                                        // Visitors get 1 day session.
@@ -524,7 +524,7 @@ function dfrn_poll_content(App $a)
                                        Session::setVisitorsContacts();
 
                                        if (!$quiet) {
-                                               info(L10n::t('%1$s welcomes %2$s', $r[0]['username'], $r[0]['name']) . EOL);
+                                               info(DI::l10n()->t('%1$s welcomes %2$s', $r[0]['username'], $r[0]['name']) . EOL);
                                        }
 
                                        // Visitors get 1 day session.