Removing more strtolower loops.

This commit is contained in:
mark_story 2010-07-09 23:58:48 -04:00
parent b7310afddf
commit 3ae1501fd0

View file

@ -418,10 +418,6 @@ class BehaviorCollection extends Object {
*/
public function dispatchMethod(&$model, $method, $params = array(), $strict = false) {
$methods = array_keys($this->__methods);
foreach ($methods as $key => $value) {
$methods[$key] = strtolower($value);
}
$method = strtolower($method);
$check = array_flip($methods);
$found = isset($check[$method]);
$call = null;