diff --git a/core/modules/field/field.install b/core/modules/field/field.install index 663ae69..f35e929 100644 --- a/core/modules/field/field.install +++ b/core/modules/field/field.install @@ -484,4 +484,3 @@ function field_update_8003() { * @} End of "addtogroup updates-7.x-to-8.x". * The next series of updates should start at 9000. */ - diff --git a/core/modules/file/file.install b/core/modules/file/file.install index 6e183f1..2327bb3 100644 --- a/core/modules/file/file.install +++ b/core/modules/file/file.install @@ -259,4 +259,3 @@ function file_update_8001() { ); db_change_field('file_usage', 'id', 'id', $spec); } - diff --git a/core/modules/image/image.install b/core/modules/image/image.install index db888fc..4079b32 100644 --- a/core/modules/image/image.install +++ b/core/modules/image/image.install @@ -143,7 +143,7 @@ function _image_update_get_style_with_effects(array $style) { function image_update_dependencies() { // Convert the format of the 'default_image' setting after fields and // instances have been moved to the config system. - $dependencies['image'][8003] = array( + $dependencies['image'][8002] = array( 'field' => 8003, ); return $dependencies; @@ -174,18 +174,20 @@ function image_update_8000() { /** * Remove the {image_styles} and {image_effects} tables. - */ + * function image_update_8001() { db_drop_table('image_styles'); db_drop_table('image_effects'); -} +}*/ /** * Moves image module settings from variable to config. * * @ingroup config_upgrade */ -function image_update_8002() { +function image_update_8001() { + db_drop_table('image_styles'); + db_drop_table('image_effects'); update_variables_to_config('image.settings', array( 'image_style_preview_image' => 'preview_image', )); @@ -195,7 +197,7 @@ function image_update_8002() { /** * Convert image field's default image configuration to the new format. */ -function image_update_8003() { +function image_update_8002() { $field_uuids = array(); foreach (config_get_storage_names_with_prefix('field.field.') as $config_name) {