aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Locs.php2
-rw-r--r--Zotlabs/Module/Ping.php4
2 files changed, 1 insertions, 5 deletions
diff --git a/Zotlabs/Module/Locs.php b/Zotlabs/Module/Locs.php
index 4b1e3ffe2..47ece8041 100644
--- a/Zotlabs/Module/Locs.php
+++ b/Zotlabs/Module/Locs.php
@@ -80,7 +80,7 @@ class Locs extends \Zotlabs\Web\Controller {
- function get() {
+ function get() {
if(! local_channel()) {
diff --git a/Zotlabs/Module/Ping.php b/Zotlabs/Module/Ping.php
index c385201ce..bf2fa5cc9 100644
--- a/Zotlabs/Module/Ping.php
+++ b/Zotlabs/Module/Ping.php
@@ -324,10 +324,6 @@ class Ping extends \Zotlabs\Web\Controller {
if($r) {
foreach($r as $rr) {
- if($rr['adjust'])
- $md = datetime_convert('UTC', date_default_timezone_get(), $rr['dtstart'], 'Y/m');
- else
- $md = datetime_convert('UTC', 'UTC', $rr['dtstart'], 'Y/m');
$strt = datetime_convert('UTC', (($rr['adjust']) ? date_default_timezone_get() : 'UTC'), $rr['dtstart']);
$today = ((substr($strt, 0, 10) === datetime_convert('UTC', date_default_timezone_get(), 'now', 'Y-m-d')) ? true : false);