1 image.install | image_update_1002() |
Drop image tables that were converted to configuration files.
This update is separate from image_update_1001 so that other modules may read the image style tables before they are dropped using hook_update_dependencies() to come between these two updates.
Related topics
File
- core/
modules/ image/ image.install, line 231 - Install, update and uninstall functions for the image module.
Code
function image_update_1002() {
if (db_table_exists('image_styles')) {
db_drop_table('image_styles');
db_drop_table('image_effects');
}
}