Browse Source

Fix wrong TYPE_POST_REMOVE event name, fixes #2906

Andrej Hudec 10 years ago
parent
commit
52815f404c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Event/PersistenceEvent.php

+ 1 - 1
Event/PersistenceEvent.php

@@ -32,7 +32,7 @@ class PersistenceEvent extends Event
     const TYPE_PRE_PERSIST  = 'pre_persist';
     const TYPE_POST_PERSIST = 'post_persist';
     const TYPE_PRE_REMOVE   = 'pre_remove';
-    const TYPE_POST_REMOVE  = 'post_update';
+    const TYPE_POST_REMOVE  = 'post_remove';
 
     protected $admin;