diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/entities.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php index 1e48ff508..55a888239 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1639,7 +1639,7 @@ $reason = sanitise_string($reason); if ($entity = get_entity($guid)) { - if (trigger_elgg_event('delete',$entity->type,$entity)) { + if (trigger_elgg_event('disable',$entity->type,$entity)) { if ($entity->canEdit()) { if ($reason) |