]> git.mxchange.org Git - friendica.git/blobdiff - mod/home.php
Bump DB version
[friendica.git] / mod / home.php
index 8bee1aef00abe2413e601d35547a431a6259c694..b1708d80a2f02e36fe78b650841581508323a316 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
 if(! function_exists('home_init')) {
-function home_init(App &$a) {
+function home_init(App $a) {
 
        $ret = array();
        call_hooks('home_init',$ret);
@@ -16,9 +16,8 @@ function home_init(App &$a) {
 
 }}
 
-
 if(! function_exists('home_content')) {
-function home_content(App &$a) {
+function home_content(App $a) {
 
        $o = '';
 
@@ -35,9 +34,8 @@ function home_content(App &$a) {
                        $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'.App::get_baseurl().'/home.css'.'" media="all" />';
                }
 
-               $o .= file_get_contents('home.html');}
-
-       else {
+               $o .= file_get_contents('home.html');
+       } else {
                $o .= '<h1>'.((x($a->config,'sitename')) ? sprintf(t("Welcome to %s"), $a->config['sitename']) : "").'</h1>';
        }
 
@@ -48,5 +46,4 @@ function home_content(App &$a) {
 
        return $o;
 
-
 }}