From b22e30c5a31fb8a7ff95f6670193bc7697de0e9a Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 28 Jun 2011 17:28:36 +0530 Subject: [PATCH] Removing unneeded magic methods. Closes #1802 --- lib/Cake/Model/Model.php | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index bdcf3a2d669..8117f48123c 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -3085,24 +3085,4 @@ protected function _clearCache($type = null) { //Will use for query cache deleting } } - -/** - * Called when serializing a model. - * - * @return array Set of object variable names this model has - * @access private - */ - private function __sleep() { - $return = array_keys(get_object_vars($this)); - return $return; - } - -/** - * Called when de-serializing a model. - * - * @access private - * @todo - */ - private function __wakeup() { - } }