[TEMPORARY] Document REST API: Disable ECM file listing for the moment.
This commit is contained in:
parent
0fce409155
commit
88c8dbc2c4
@ -473,7 +473,7 @@ class Documents extends DolibarrApi
|
|||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
throw new RestException(503, 'Error when retrieve ecm list : ' . $this->db->lasterror());
|
throw new RestException(503, 'Error when retrieve ecm list : ' . $this->db->lasterror());
|
||||||
} elseif (is_array($ecmfile->lines) && count($ecmfile->lines) > 0) {
|
} elseif (is_array($ecmfile->lines) && count($ecmfile->lines) > 0) {
|
||||||
$filearray['ecmfiles_infos'] = $ecmfile->lines;
|
//$filearray['ecmfiles_infos'] = $ecmfile->lines;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user