Removing App::__overload() it does nothing anymore.

This commit is contained in:
mark_story 2010-11-16 23:11:54 -05:00
parent 0d7ecea6cb
commit 66c9b79c2e

View file

@ -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.