[TEMPORARY] Document REST API: Disable ECM file listing for the moment.

This commit is contained in:
lainwir3d 2021-09-01 16:37:40 +04:00
parent 0fce409155
commit 88c8dbc2c4

View File

@ -473,7 +473,7 @@ class Documents extends DolibarrApi
if ($result < 0) {
throw new RestException(503, 'Error when retrieve ecm list : ' . $this->db->lasterror());
} elseif (is_array($ecmfile->lines) && count($ecmfile->lines) > 0) {
$filearray['ecmfiles_infos'] = $ecmfile->lines;
//$filearray['ecmfiles_infos'] = $ecmfile->lines;
}
}
}