mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Removing strtolower() loops on method names, as casing is preserved in php5.
This commit is contained in:
parent
7dae4a7fd8
commit
b7310afddf
1 changed files with 0 additions and 7 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue