mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
remove old commented call of search()
This commit is contained in:
parent
3f0275e25d
commit
4e39c69224
|
@ -1967,7 +1967,6 @@ final class SeedDMS_RestapiController { /* {{{ */
|
||||||
// 'creationstartdate'=>array('hour'=>1, 'minute'=>0, 'second'=>0, 'year'=>date('Y')-1, 'month'=>date('m'), 'day'=>date('d')),
|
// 'creationstartdate'=>array('hour'=>1, 'minute'=>0, 'second'=>0, 'year'=>date('Y')-1, 'month'=>date('m'), 'day'=>date('d')),
|
||||||
);
|
);
|
||||||
$resArr = $dms->search($sparams);
|
$resArr = $dms->search($sparams);
|
||||||
// $resArr = $dms->search($querystr, $limit, $offset, 'AND', $searchin, null, null, array(), array('hour'=>1, 'minute'=>0, 'second'=>0, 'year'=>date('Y')-1, 'month'=>date('m'), 'day'=>date('d')), array(), array(), array(), array(), array(), $objects);
|
|
||||||
if($resArr === false) {
|
if($resArr === false) {
|
||||||
return $this->renderer->json($response, array())->withStatus(200);
|
return $this->renderer->json($response, array())->withStatus(200);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user