mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°6040 - Booking: Add prerequisites in iTop core - Compilation extensibility - rework of properties
This commit is contained in:
@@ -7076,12 +7076,8 @@ class AttributeExternalKey extends AttributeDBFieldVoid
|
||||
*
|
||||
* @since 3.1.0
|
||||
*/
|
||||
public function GetDeletionOptionForTargetObject()
|
||||
public function GetDeletionOptionForTargetObject(): int
|
||||
{
|
||||
if ($this->IsParam('on_host_delete')) {
|
||||
return $this->Get('on_host_delete');
|
||||
}
|
||||
|
||||
return $this->GetOptional('on_host_delete', DEL_MANUAL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user