diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-10-10 13:37:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-10-10 13:37:11 +0000 |
commit | 15b24127b5abb1c66fb5a7579a07e00b571174b0 (patch) | |
tree | 0fb8cddc92f3a86c65d40a4be58d5dbcb43a020a /modules/comment/comment.api.php | |
parent | db53d99659801c539f1fa813af38bf65803ab8f2 (diff) | |
download | brdo-15b24127b5abb1c66fb5a7579a07e00b571174b0.tar.gz brdo-15b24127b5abb1c66fb5a7579a07e00b571174b0.tar.bz2 |
- Patch #122098 by Damien Tournoud, catch, mdixoncm: split comment.timestamp into 'created' and 'changed' columns, just like for nodes.
Diffstat (limited to 'modules/comment/comment.api.php')
-rw-r--r-- | modules/comment/comment.api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.api.php b/modules/comment/comment.api.php index d7a1ef2c7..104562e34 100644 --- a/modules/comment/comment.api.php +++ b/modules/comment/comment.api.php @@ -69,7 +69,7 @@ function hook_comment_load($comments) { */ function hook_comment_view($comment) { // how old is the comment - $comment->time_ago = time() - $comment->timestamp; + $comment->time_ago = time() - $comment->changed; } /** |