diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index c230a1ae6..3643504d6 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -1558,7 +1558,8 @@ HTML * * @throws \Exception * only used in old and deprecated export.php - * @deprecated since 2.7.7 3.0.1 + * + * @internal Only to be used by `/webservices/export.php` : this is a legacy method that produces wrong HTML (no TR on table body rows) */ public static function DisplaySetAsHTMLSpreadsheet(WebPage $oPage, CMDBObjectSet $oSet, $aParams = array()) { @@ -1579,8 +1580,8 @@ HTML * @throws \MySQLException * @throws \MySQLHasGoneAwayException * @throws \Exception - * only used in old and deprecated export.php - * @deprecated since 2.7.7 3.0.1 + * + * @internal Only to be used by `/webservices/export.php` : this is a legacy method that produces wrong HTML (no TR on table body rows) */ public static function GetSetAsHTMLSpreadsheet(DBObjectSet $oSet, $aParams = array()) { diff --git a/webservices/export.php b/webservices/export.php index 9179912eb..a3f6ed2ad 100644 --- a/webservices/export.php +++ b/webservices/export.php @@ -17,6 +17,15 @@ * You should have received a copy of the GNU Affero General Public License */ + +/** + * ⚠ Warning, this page is only kept for legacy usages : **it is not maintained anymore** + * + * Instead, you should use `export-v2.php` + * + * @link https://www.itophub.io/wiki/page?id=latest:advancedtopics:exportdata_v1 script documentation + */ + if (!defined('__DIR__')) define('__DIR__', dirname(__FILE__)); require_once(__DIR__.'/../approot.inc.php'); require_once(APPROOT.'/application/application.inc.php');