From 382706c75d030ee57e9999e1916314a6dbf43659 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 8 Jan 2009 14:30:07 +0000 Subject: Delete replaced by disable in disable_entity git-svn-id: https://code.elgg.org/elgg/trunk@2544 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/entities.php') 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) -- cgit v1.2.3