Removing strtolower() loops on method names, as casing is preserved in php5.

This commit is contained in:
mark_story 2010-07-09 23:49:48 -04:00
parent 7dae4a7fd8
commit b7310afddf

View file

@ -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();
}