From b7310afddfde9faf0c999b6609e6075c0674626d Mon Sep 17 00:00:00 2001 From: mark_story Date: Fri, 9 Jul 2010 23:49:48 -0400 Subject: [PATCH] Removing strtolower() loops on method names, as casing is preserved in php5. --- cake/libs/controller/controller.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cake/libs/controller/controller.php b/cake/libs/controller/controller.php index 0f8bfe189..af24e0d74 100644 --- a/cake/libs/controller/controller.php +++ b/cake/libs/controller/controller.php @@ -347,13 +347,6 @@ class Controller extends Object { $childMethods = get_class_methods($this); $parentMethods = get_class_methods('Controller'); - foreach ($childMethods as $key => $value) { - $childMethods[$key] = strtolower($value); - } - - foreach ($parentMethods as $key => $value) { - $parentMethods[$key] = strtolower($value); - } $this->methods = array_diff($childMethods, $parentMethods); parent::__construct(); }