Fix strict error in 5.4

This commit is contained in:
mark_story 2012-09-13 20:59:17 -04:00
parent ec54fa57c5
commit 921c2c67ab

View file

@ -286,7 +286,7 @@ abstract class ObjectCollection {
* @return void
*/
public function unload($name) {
$name = array_pop(pluginSplit($name));
list(, $name) = pluginSplit($name);
unset($this->_loaded[$name], $this->_enabled[$name]);
}