Remove Overloadable from Helper class.

This commit is contained in:
predominant 2010-04-05 16:45:14 +10:00
parent 5f2d091810
commit f5fa56ff3c

View file

@ -20,11 +20,6 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
/**
* Included libs
*/
App::import('Core', 'Overloadable');
/**
* Abstract base class for all other Helpers in CakePHP.
* Provides common methods and features.
@ -32,7 +27,7 @@ App::import('Core', 'Overloadable');
* @package cake
* @subpackage cake.cake.libs.view
*/
class Helper extends Overloadable {
class Helper {
/**
* List of helpers used by this helper
@ -147,9 +142,7 @@ class Helper extends Overloadable {
* Default overload methods
*
*/
protected function get__($name) {}
protected function set__($name, $value) {}
protected function call__($method, $params) {
protected function __call($method, $params) {
trigger_error(sprintf(__('Method %1$s::%2$s does not exist', true), get_class($this), $method), E_USER_WARNING);
}