Permalink
Browse files

commnet out created_on logic

  • Loading branch information...
yandod committed Jul 14, 2012
1 parent 1dccc6d commit 90f5bce727ef91a82f7450128f286a730c655341
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/Model/AppModel.php
View
@@ -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 {

0 comments on commit 90f5bce

Please sign in to comment.