mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2434 - Track field Comment in core/delete - API REST
This commit is contained in:
@@ -303,7 +303,7 @@ class CoreServices implements iRestServiceProvider
|
|||||||
*
|
*
|
||||||
* @param string $sVersion The version (e.g. 1.0) supported by the services
|
* @param string $sVersion The version (e.g. 1.0) supported by the services
|
||||||
* @param string $sVerb
|
* @param string $sVerb
|
||||||
* @param $aParams
|
* @param object $aParams
|
||||||
*
|
*
|
||||||
* @return RestResult The standardized result structure (at least a message)
|
* @return RestResult The standardized result structure (at least a message)
|
||||||
* @throws \CoreException
|
* @throws \CoreException
|
||||||
@@ -476,6 +476,7 @@ class CoreServices implements iRestServiceProvider
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'core/delete':
|
case 'core/delete':
|
||||||
|
RestUtils::InitTrackingComment($aParams);
|
||||||
$sClass = RestUtils::GetClass($aParams, 'class');
|
$sClass = RestUtils::GetClass($aParams, 'class');
|
||||||
$key = RestUtils::GetMandatoryParam($aParams, 'key');
|
$key = RestUtils::GetMandatoryParam($aParams, 'key');
|
||||||
$bSimulate = RestUtils::GetOptionalParam($aParams, 'simulate', false);
|
$bSimulate = RestUtils::GetOptionalParam($aParams, 'simulate', false);
|
||||||
|
|||||||
Reference in New Issue
Block a user