Skip to content
Permalink
Browse files

Removing strtolower() loops on method names, as casing is preserved i…

…n php5.
  • Loading branch information...
markstory committed Jul 10, 2010
1 parent 7dae4a7 commit b7310afddfde9faf0c999b6609e6075c0674626d
Showing with 0 additions and 7 deletions.
  1. +0 −7 cake/libs/controller/controller.php
@@ -347,13 +347,6 @@ public function __construct() {
$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();
}

0 comments on commit b7310af

Please sign in to comment.
You can’t perform that action at this time.