Change "datetime" to "created" to give some semantics to this field.

This commit is contained in:
Bharat Mediratta
2008-12-21 01:29:25 +00:00
parent 8f87a030c8
commit 81e87dfecd
5 changed files with 15 additions and 31 deletions

View File

@@ -45,7 +45,7 @@ class Comments_Controller extends REST_Controller {
$comment->author = $this->input->post('author');
$comment->email = $this->input->post('email');
$comment->text = $this->input->post('text');
$comment->datetime = time();
$comment->created = time();
$comment->item_id = $this->input->post('item_id');
$comment->save();