Skip to content

Commit

Permalink
commnet out created_on logic
Browse files Browse the repository at this point in the history
  • Loading branch information
yandod committed Jul 14, 2012
1 parent 1dccc6d commit 90f5bce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Model/AppModel.php
Expand Up @@ -109,9 +109,9 @@ public function invalidFields($options = array()) {
*/
public function beforeSave($options = array()) {
$dateFields = array('updated_on');
if (!$this->__exists) {
$dateFields[] = 'created_on';
}
//if (!$this->__exists) {
// $dateFields[] = 'created_on';
//}
if (isset($this->data[$this->alias])) {
$fields = array_keys($this->data[$this->alias]);
} else {
Expand Down

0 comments on commit 90f5bce

Please sign in to comment.