diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-08 14:30:07 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-08 14:30:07 +0000 |
commit | 382706c75d030ee57e9999e1916314a6dbf43659 (patch) | |
tree | be4714391f8f43ffdf6c593288e4b10e4aaf87d4 /engine | |
parent | a051dd5aab7465facd938a5afc81cdb420890f15 (diff) | |
download | elgg-382706c75d030ee57e9999e1916314a6dbf43659.tar.gz elgg-382706c75d030ee57e9999e1916314a6dbf43659.tar.bz2 |
Delete replaced by disable in disable_entity
git-svn-id: https://code.elgg.org/elgg/trunk@2544 36083f99-b078-4883-b0ff-0f9b5a30f544
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) |