diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-09-05 11:31:13 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-09-05 11:31:13 -0700 |
commit | a42839c52df07d7ffcb80cd41da8f323aa1189eb (patch) | |
tree | be0e41971c761d42694c80ecfb00e07d3ba52f1d /modules/comment/comment.install | |
parent | a500758588ef93896408d430ea44c69f9c5f15f5 (diff) | |
download | brdo-a42839c52df07d7ffcb80cd41da8f323aa1189eb.tar.gz brdo-a42839c52df07d7ffcb80cd41da8f323aa1189eb.tar.bz2 |
Issue #1069080 by Marie Wendel, droplet: Fixed node_comment_statistics().last_comment_timestamp() description.
Diffstat (limited to 'modules/comment/comment.install')
-rw-r--r-- | modules/comment/comment.install | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install index cda3c308d..121ec22a1 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -371,6 +371,27 @@ function comment_update_7008() { */ /** + * @addtogroup updates-7.x-extra + * @{ + */ + +/** + * Change the last_comment_timestamp column description. + */ +function comment_update_7009() { + db_change_field('node_comment_statistics', 'last_comment_timestamp', 'last_comment_timestamp', array( + 'type' => 'int', + 'not null' => TRUE, + 'default' => 0, + 'description' => 'The Unix timestamp of the last comment that was posted within this node, from {comment}.changed.', + )); +} + +/** + * @} End of "addtogroup updates-7.x-extra" + */ + +/** * Implements hook_schema(). */ function comment_schema() { @@ -506,7 +527,7 @@ function comment_schema() { 'type' => 'int', 'not null' => TRUE, 'default' => 0, - 'description' => 'The Unix timestamp of the last comment that was posted within this node, from {comment}.timestamp.', + 'description' => 'The Unix timestamp of the last comment that was posted within this node, from {comment}.changed.', ), 'last_comment_name' => array( 'type' => 'varchar', |