From a720cd73abc9abe1b0947ca77b153757be0839a0 Mon Sep 17 00:00:00 2001 From: lainwir3d Date: Wed, 1 Sep 2021 16:37:40 +0400 Subject: [PATCH] [TEMPORARY] Document REST API: Disable ECM file listing for the moment. --- htdocs/api/class/api_documents.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/api/class/api_documents.class.php b/htdocs/api/class/api_documents.class.php index 44c3b1fcb52..fabc186d11e 100644 --- a/htdocs/api/class/api_documents.class.php +++ b/htdocs/api/class/api_documents.class.php @@ -503,7 +503,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; } } }