From 2ae0076ae2f08a0f88ad96db4cac0d1b303260ce Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 28 Jul 2012 17:21:42 -0700 Subject: move today's events into a ping notification --- include/zot.php | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ mod/ping.php | 11 +++++++++++ version.inc | 2 +- 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 include/zot.php diff --git a/include/zot.php b/include/zot.php new file mode 100644 index 000000000..f49af08ad --- /dev/null +++ b/include/zot.php @@ -0,0 +1,50 @@ + '%s' + ORDER BY `start` ASC ", + intval(local_user()), + dbesc(datetime_convert('UTC','UTC','now + 1 days')), + dbesc(datetime_convert('UTC','UTC','now')) + ); + + if($events) + $result['events'] = intval($events[0]['total']); $x = json_encode($result); diff --git a/version.inc b/version.inc index f203edae8..47c00d85a 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2012-07-27.28 +2012-07-28.29 -- cgit v1.2.3