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 $sVerb
|
||||
* @param $aParams
|
||||
* @param object $aParams
|
||||
*
|
||||
* @return RestResult The standardized result structure (at least a message)
|
||||
* @throws \CoreException
|
||||
@@ -476,6 +476,7 @@ class CoreServices implements iRestServiceProvider
|
||||
break;
|
||||
|
||||
case 'core/delete':
|
||||
RestUtils::InitTrackingComment($aParams);
|
||||
$sClass = RestUtils::GetClass($aParams, 'class');
|
||||
$key = RestUtils::GetMandatoryParam($aParams, 'key');
|
||||
$bSimulate = RestUtils::GetOptionalParam($aParams, 'simulate', false);
|
||||
|
||||
Reference in New Issue
Block a user