]> git.mxchange.org Git - friendica.git/blobdiff - mod/home.php
removed one line too much
[friendica.git] / mod / home.php
index dc571aaabd393aef51ee923e28c27b8d21e23d01..206a1827ea1d67eb4a0a575b2c39f2cdebdc8cea 100644 (file)
@@ -1,8 +1,11 @@
 <?php
-
+/**
+ * @file mod/home.php
+ */
 use Friendica\App;
 use Friendica\Core\Addon;
 use Friendica\Core\Config;
+use Friendica\Core\L10n;
 use Friendica\Core\System;
 use Friendica\Module\Login;
 
@@ -33,7 +36,7 @@ function home_content(App $a) {
        }
 
        $customhome = false;
-       $defaultheader = '<h1>'.((x($a->config,'sitename')) ? sprintf(t("Welcome to %s"), $a->config['sitename']) : "").'</h1>';
+       $defaultheader = '<h1>'.((x($a->config,'sitename')) ? L10n::t("Welcome to %s", $a->config['sitename']) : "").'</h1>';
 
        $homefilepath = $a->basepath . "/home.html";
        $cssfilepath = $a->basepath . "/home.css";