-
Removed redundant code in detachBehaviors() · ee81915aPaul Kofmann authored
After ensureBehaviors() call $this->_behaviors is an array already. And since detachBehavior() unsets elements in $this->_behaviors, $this->_behaviors turns out to be an empty array after all iterations.
ee81915a
×