X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flocaltime.php;h=d1453bc5272bd3cf2aa5ad8017853c75fdc44a85;hb=0c9cc29a51941eb572bf16fd5489d0947d47d033;hp=fc500f4dd9b0c6711206bcc5cacb0d9eaa81575c;hpb=d6cf791677e3c676108f84e64818ba2a272f6d08;p=friendica.git diff --git a/mod/localtime.php b/mod/localtime.php index fc500f4dd9..d1453bc527 100644 --- a/mod/localtime.php +++ b/mod/localtime.php @@ -2,7 +2,7 @@ require_once('include/datetime.php'); -if(! function_exists('localtime_post')) { + function localtime_post(&$a) { $t = $_REQUEST['time']; @@ -13,10 +13,9 @@ function localtime_post(&$a) { if($_POST['timezone']) $a->data['mod-localtime'] = datetime_convert('UTC',$_POST['timezone'],$t,$bd_format); -} + } -if(! function_exists('localtime_content')) { function localtime_content(&$a) { $t = $_REQUEST['time']; if(! $t) @@ -39,12 +38,12 @@ function localtime_content(&$a) { $o .= '
'; return $o; -} -} + +} \ No newline at end of file