aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-20 13:29:48 -0700
committerzotlabs <mike@macgirvin.com>2018-05-20 13:29:48 -0700
commit8611e7f8a62421d93df37f32753663ef0cced25a (patch)
tree586229d2dfdd63f3f9ae478af8f183f6a0fcff20
parent8b4af7cf0ba59fe0a50ca7caf843569578ac3044 (diff)
downloadvolse-hubzilla-8611e7f8a62421d93df37f32753663ef0cced25a.tar.gz
volse-hubzilla-8611e7f8a62421d93df37f32753663ef0cced25a.tar.bz2
volse-hubzilla-8611e7f8a62421d93df37f32753663ef0cced25a.zip
remove unused mindate parameter in the network/stream API method
-rw-r--r--include/api_zot.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/api_zot.php b/include/api_zot.php
index 1d30a0845..921242152 100644
--- a/include/api_zot.php
+++ b/include/api_zot.php
@@ -96,9 +96,10 @@
// json_return_and_die(post_activity_item($_REQUEST));
}
else {
- $mindate = (($_REQUEST['mindate']) ? datetime_convert('UTC','UTC',$_REQUEST['mindate']) : '');
- if(! $mindate)
- $mindate = datetime_convert('UTC','UTC', 'now - 14 days');
+ if(array_key_exists('dbegin',$_REQUEST))
+ $_REQUEST['datequery2'] = $_REQUEST['dbegin'];
+ if(array_key_exists('dend',$_REQUEST))
+ $_REQUEST['datequery'] = $_REQUEST['dend'];
$arr = $_REQUEST;
$ret = [];