Skip to content

Commit

Permalink
Removing unneeded magic methods. Closes #1802
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 28, 2011
1 parent ffe575b commit b22e30c
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions lib/Cake/Model/Model.php
Expand Up @@ -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() {
}
}

0 comments on commit b22e30c

Please sign in to comment.