Parcourir la source

Fix wrong TYPE_POST_REMOVE event name, fixes #2906

Andrej Hudec il y a 10 ans
Parent
commit
52815f404c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;