diff options
Diffstat (limited to 'engine/lib/entities.php')
-rw-r--r-- | engine/lib/entities.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 781a744ad..4f58e96a8 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1345,6 +1345,17 @@ function disable_entity($guid, $reason = "", $recursive = true) { } } + // disable annotations + // Now delete the entity itself +// $entity->clearMetadata(); +// $entity->clearAnnotations(); +// $entity->clearRelationships(); +// +// $res = delete_data("DELETE from {$CONFIG->dbprefix}entities where guid={$guid}"); +// if ($res) { +// $sub_table = ""; +// } + $__RECURSIVE_DELETE_TOKEN = null; } |