From 3ae1501fd0b34f1a54df82dc219722226399e905 Mon Sep 17 00:00:00 2001 From: mark_story Date: Fri, 9 Jul 2010 23:58:48 -0400 Subject: [PATCH] Removing more strtolower loops. --- cake/libs/model/model_behavior.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cake/libs/model/model_behavior.php b/cake/libs/model/model_behavior.php index 0d4fdcaa1..02191aef9 100644 --- a/cake/libs/model/model_behavior.php +++ b/cake/libs/model/model_behavior.php @@ -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;