From 88c8dbc2c4d496e3cd02c8bc02fb452cdc559c64 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 00fd1a91a8a..9f3b2bcad45 100644 --- a/htdocs/api/class/api_documents.class.php +++ b/htdocs/api/class/api_documents.class.php @@ -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; } } }