浏览代码

Fix wrong TYPE_POST_REMOVE event name, fixes #2906

Andrej Hudec 10 年之前
父节点
当前提交
52815f404c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;