X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Flocaltime.php;h=535308903153af6d3cf81ef4d310ccc8705034db;hb=f94a10bf00de699a5f3d22ea74665053a5661175;hp=d1453bc5272bd3cf2aa5ad8017853c75fdc44a85;hpb=3c97a6703cd5a743fc9339f52996bcb1eb436ef0;p=friendica.git diff --git a/mod/localtime.php b/mod/localtime.php index d1453bc527..5353089031 100644 --- a/mod/localtime.php +++ b/mod/localtime.php @@ -3,7 +3,7 @@ require_once('include/datetime.php'); -function localtime_post(&$a) { +function localtime_post(App $a) { $t = $_REQUEST['time']; if(! $t) @@ -16,7 +16,7 @@ function localtime_post(&$a) { } -function localtime_content(&$a) { +function localtime_content(App $a) { $t = $_REQUEST['time']; if(! $t) $t = 'now'; @@ -36,9 +36,9 @@ function localtime_content(&$a) { $o .= '
' . sprintf( t('Converted localtime: %s'),$a->data['mod-localtime']) . '
'; - $o .= '