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 | |
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.
-rw-r--r-- | modules/comment/comment.install | 23 | ||||
-rw-r--r-- | modules/system/system.install | 10 |
2 files changed, 32 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', diff --git a/modules/system/system.install b/modules/system/system.install index 6cbbb9ed0..219f067d1 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2977,3 +2977,13 @@ function system_update_7071() { * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ + +/** + * @defgroup updates-7.x-extra Extra system updates for 7.x + * @{ + */ + +/** + * @} End of "defgroup updates-7.x-extra" + * The next series of updates should start at 8000. + */ |