mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing App::__overload() it does nothing anymore.
This commit is contained in:
parent
0d7ecea6cb
commit
66c9b79c2e
1 changed files with 0 additions and 13 deletions
|
@ -513,7 +513,6 @@ class App {
|
|||
if ($name != null && !class_exists($name . $ext['class'])) {
|
||||
if ($load = self::__mapped($name . $ext['class'], $type, $plugin)) {
|
||||
if (self::__load($load)) {
|
||||
self::__overload($type, $name . $ext['class'], $parent);
|
||||
|
||||
if (self::$return) {
|
||||
return include($load);
|
||||
|
@ -554,7 +553,6 @@ class App {
|
|||
if ($directory !== null) {
|
||||
self::$__cache = true;
|
||||
self::__map($directory . $file, $name . $ext['class'], $type, $plugin);
|
||||
self::__overload($type, $name . $ext['class'], $parent);
|
||||
|
||||
if (self::$return) {
|
||||
return include($directory . $file);
|
||||
|
@ -696,17 +694,6 @@ class App {
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Used to overload objects as needed.
|
||||
*
|
||||
* @param string $type Model or Helper
|
||||
* @param string $name Class name to overload
|
||||
* @access private
|
||||
*/
|
||||
private static function __overload($type, $name, $parent) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads parent classes based on $type.
|
||||
* Returns a prefix or suffix needed for loading files.
|
||||
|
|
Loading…
Add table
Reference in a new issue