This commit is contained in:
Ronald Quenta
2015-11-27 11:31:22 -04:00
parent 25ab8d80b3
commit d1e7f51bc7

View File

@@ -20,8 +20,6 @@ class Light extends Api
private $arrayFieldIso8601 = [
// request lists
'dateFrom',
'dateTo',
'newestthan',
'oldestthan',
//return lists
@@ -382,8 +380,6 @@ class Light extends Api
$dataList['filter'] = $filter;
$dataList['dateFrom'] = $date_from;
$dataList['dateTo'] = $date_to;
Validator::throwExceptionIfDataNotMetIso8601Format($dataList, $this->arrayFieldIso8601);
$dataList = DateTime::convertDataToUtc($dataList, $this->arrayFieldIso8601);
$lists = new \ProcessMaker\BusinessModel\Lists();
$response = $lists->getList('paused', $dataList);
$result = $this->parserDataParticipated($response['data']);
@@ -1117,8 +1113,6 @@ class Light extends Api
$dataList['dateFrom'] = $date_from;
$dataList['dateTo'] = $date_to;
$dataList['search'] = $search;
Validator::throwExceptionIfDataNotMetIso8601Format($dataList, $this->arrayFieldIso8601);
$dataList = DateTime::convertDataToUtc($dataList, $this->arrayFieldIso8601);
$appNotes = new \AppNotes();
$response = $appNotes->getNotesList( $app_uid, '', $start, $limit );