walkor 4 rokov pred
rodič
commit
45ec8f73cd
1 zmenil súbory, kde vykonal 1 pridanie a 3 odobranie
  1. 1 3
      Events/Event.php

+ 1 - 3
Events/Event.php

@@ -202,9 +202,7 @@ class Event implements EventInterface
      */
     public function destroy()
     {
-        foreach ($this->_eventSignal as $event) {
-            $event->del();
-        }
+        $this->_eventBase->exit();
     }
 
     /**