Cleaned up unused code in Symfony\Component\EventDispatcher\EventDispatcher::getListeners()

This commit is contained in:
Robert Campbell 2011-08-20 15:44:49 -05:00
parent b66eb4db57
commit 72d71b52f2

View File

@ -76,10 +76,6 @@ class EventDispatcher implements EventDispatcherInterface
if (!isset($this->sorted[$eventName])) {
$this->sortListeners($eventName);
}
if ($this->sorted[$eventName]) {
$sorted[$eventName] = $this->sorted[$eventName];
}
}
return $this->sorted;