summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-07-16 09:45:43 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-07-16 09:45:43 -0700
commit7a7abd77b47bb1f92ef4380502e071f840db9280 (patch)
tree4612f9d2d209a59b1f8f2c90a6ead6e9a70ea1a9
parent10bdfda909cff100255005d8c6d3abc5ba3eff2a (diff)
downloadbrdo-7a7abd77b47bb1f92ef4380502e071f840db9280.tar.gz
brdo-7a7abd77b47bb1f92ef4380502e071f840db9280.tar.bz2
Issue #1615312 by dsdeiz, David_Rothstein: Make sure all D7 to D7 updates are listed in the updates-7.x-extra group
-rw-r--r--modules/block/block.install11
-rw-r--r--modules/color/color.install9
-rw-r--r--modules/comment/comment.install18
-rw-r--r--modules/field/modules/list/list.install11
-rw-r--r--modules/forum/forum.install18
-rw-r--r--modules/image/image.install9
-rw-r--r--modules/locale/locale.install16
-rw-r--r--modules/node/node.install11
-rw-r--r--modules/poll/poll.install9
-rw-r--r--modules/system/system.install20
-rw-r--r--modules/trigger/trigger.install9
-rw-r--r--modules/user/user.install18
12 files changed, 111 insertions, 48 deletions
diff --git a/modules/block/block.install b/modules/block/block.install
index 073b0b4a0..a78c885e7 100644
--- a/modules/block/block.install
+++ b/modules/block/block.install
@@ -457,6 +457,15 @@ function block_update_7007() {
}
/**
+ * @} End of "addtogroup updates-6.x-to-7.x".
+ */
+
+/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Update database to match Drupal 7 schema.
*/
function block_update_7008() {
@@ -464,5 +473,5 @@ function block_update_7008() {
}
/**
- * @} End of "addtogroup updates-6.x-to-7.x".
+ * @} End of "addtogroup updates-7.x-extra".
*/
diff --git a/modules/color/color.install b/modules/color/color.install
index 2a6b9cdd1..3a9aea355 100644
--- a/modules/color/color.install
+++ b/modules/color/color.install
@@ -42,6 +42,11 @@ function color_requirements($phase) {
}
/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Warn site administrator if unsafe CSS color codes are found in the database.
*/
function color_update_7001() {
@@ -55,3 +60,7 @@ function color_update_7001() {
}
}
}
+
+/**
+ * @} End of "addtogroup updates-7.x-extra".
+ */
diff --git a/modules/comment/comment.install b/modules/comment/comment.install
index eaaa6b099..e4da58f38 100644
--- a/modules/comment/comment.install
+++ b/modules/comment/comment.install
@@ -345,6 +345,15 @@ function comment_update_7006(&$sandbox) {
}
/**
+ * @} End of "addtogroup updates-6.x-to-7.x".
+ */
+
+/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Add an index to the created column.
*/
function comment_update_7007() {
@@ -372,15 +381,6 @@ function comment_update_7008() {
}
/**
- * @} End of "addtogroup updates-6.x-to-7.x".
- */
-
-/**
- * @addtogroup updates-7.x-extra
- * @{
- */
-
-/**
* Change the last_comment_timestamp column description.
*/
function comment_update_7009() {
diff --git a/modules/field/modules/list/list.install b/modules/field/modules/list/list.install
index 91c7649c1..2386f0483 100644
--- a/modules/field/modules/list/list.install
+++ b/modules/field/modules/list/list.install
@@ -117,6 +117,11 @@ function _list_update_7001_extract_allowed_values($string, $position_keys) {
}
/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Re-apply list_update_7001() for deleted fields.
*/
function list_update_7002() {
@@ -126,4 +131,8 @@ function list_update_7002() {
// list_update_7001() has the required checks to ensure it is reentrant, so
// it can simply be executed once more..
list_update_7001();
-} \ No newline at end of file
+}
+
+/**
+ * @} End of "addtogroup updates-7.x-extra".
+ */
diff --git a/modules/forum/forum.install b/modules/forum/forum.install
index dec2bcced..558439079 100644
--- a/modules/forum/forum.install
+++ b/modules/forum/forum.install
@@ -352,6 +352,11 @@ function forum_update_7001() {
}
/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Add new index to forum_index table.
*/
function forum_update_7002() {
@@ -360,11 +365,6 @@ function forum_update_7002() {
}
/**
- * @addtogroup updates-7.x-extra
- * @{
- */
-
-/**
* Rename field to 'taxonomy_forums'.
*/
function forum_update_7003() {
@@ -442,10 +442,6 @@ function forum_update_7003() {
}
/**
- * @} End of "addtogroup updates-7.x-extra".
- */
-
-/**
* Update {forum_index} so that only published nodes are indexed.
*/
function forum_update_7011() {
@@ -465,3 +461,7 @@ function forum_update_7012() {
db_add_index('forum_index', 'created', array('created'));
db_add_index('forum_index', 'last_comment_timestamp', array('last_comment_timestamp'));
}
+
+/**
+ * @} End of "addtogroup updates-7.x-extra".
+ */
diff --git a/modules/image/image.install b/modules/image/image.install
index 5595a335d..b7aac7152 100644
--- a/modules/image/image.install
+++ b/modules/image/image.install
@@ -254,6 +254,11 @@ function image_update_7000() {
}
/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Rename possibly misnamed {image_effect} table to {image_effects}.
*/
function image_update_7001() {
@@ -443,6 +448,10 @@ function image_update_7004() {
}
/**
+ * @} End of "addtogroup updates-7.x-extra".
+ */
+
+/**
* Implements hook_requirements() to check the PHP GD Library.
*
* @param $phase
diff --git a/modules/locale/locale.install b/modules/locale/locale.install
index 6ee2cc772..2d94c7170 100644
--- a/modules/locale/locale.install
+++ b/modules/locale/locale.install
@@ -126,14 +126,6 @@ function locale_update_7002() {
}
/**
- * Update "language_count" variable.
- */
-function locale_update_7003() {
- $languages = language_list('enabled');
- variable_set('language_count', count($languages[1]));
-}
-
-/**
* @} End of "addtogroup updates-6.x-to-7.x".
*/
@@ -143,6 +135,14 @@ function locale_update_7003() {
*/
/**
+ * Update "language_count" variable.
+ */
+function locale_update_7003() {
+ $languages = language_list('enabled');
+ variable_set('language_count', count($languages[1]));
+}
+
+/**
* Remove duplicates in {locales_source}.
*/
function locale_update_7004() {
diff --git a/modules/node/node.install b/modules/node/node.install
index 0955d4369..434410c8d 100644
--- a/modules/node/node.install
+++ b/modules/node/node.install
@@ -847,6 +847,15 @@ function node_update_7010() {
}
/**
+ * @} End of "addtogroup updates-6.x-to-7.x".
+ */
+
+/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Update the database from Drupal 6 to match the schema.
*/
function node_update_7011() {
@@ -915,5 +924,5 @@ function node_update_7013() {
}
/**
- * @} End of "addtogroup updates-6.x-to-7.x".
+ * @} End of "addtogroup updates-7.x-extra".
*/
diff --git a/modules/poll/poll.install b/modules/poll/poll.install
index 8c73cf43a..8c58025bb 100644
--- a/modules/poll/poll.install
+++ b/modules/poll/poll.install
@@ -198,9 +198,18 @@ function poll_update_7003() {
}
/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Update the database to match the schema.
*/
function poll_update_7004() {
// Remove field default.
db_change_field('poll_vote', 'chid', 'chid', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE));
}
+
+/**
+ * @} End of "addtogroup updates-7.x-extra".
+ */
diff --git a/modules/system/system.install b/modules/system/system.install
index 676d27259..800ea12e1 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2953,6 +2953,16 @@ function system_update_7069() {
}
/**
+ * @} 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
+ * @{
+ */
+
+/**
* Remove the obsolete 'drupal_badge_color' and 'drupal_badge_size' variables.
*/
function system_update_7070() {
@@ -2983,16 +2993,6 @@ function system_update_7072() {
}
/**
- * @} 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
- * @{
- */
-
-/**
* Add binary to {file_managed}, in case system_update_7034() was run without
* it.
*/
diff --git a/modules/trigger/trigger.install b/modules/trigger/trigger.install
index 20d5c3a3d..779cd2aad 100644
--- a/modules/trigger/trigger.install
+++ b/modules/trigger/trigger.install
@@ -80,6 +80,11 @@ function trigger_update_7000() {
}
/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Increase the length of the "hook" field to 78 characters.
*
* This is a separate function for those who ran an older version of
@@ -105,3 +110,7 @@ function trigger_update_7002() {
->execute();
}
}
+
+/**
+ * @} End of "addtogroup updates-7.x-extra".
+ */
diff --git a/modules/user/user.install b/modules/user/user.install
index 378201c15..217577de7 100644
--- a/modules/user/user.install
+++ b/modules/user/user.install
@@ -831,6 +831,15 @@ function user_update_7015() {
}
/**
+ * @} End of "addtogroup updates-6.x-to-7.x".
+ */
+
+/**
+ * @addtogroup updates-7.x-extra
+ * @{
+ */
+
+/**
* Update the database to match the schema.
*/
function user_update_7016() {
@@ -891,15 +900,6 @@ function user_update_7017() {
}
/**
- * @} End of "addtogroup updates-6.x-to-7.x".
- */
-
-/**
- * @addtogroup updates-7.x-extra
- * @{
- */
-
-/**
* Ensure there is an index on {users}.picture.
*/
function user_update_7018() {