diff options
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.install | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 5f01d45b8..a80e6ceda 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -634,11 +634,6 @@ function system_schema() { 'not null' => TRUE, 'default' => 0, ), - 'headers' => array( - 'description' => 'Any custom HTTP headers to be added to cached data.', - 'type' => 'text', - 'not null' => FALSE, - ), 'serialized' => array( 'description' => 'A flag to indicate whether content is serialized (1) or not (0).', 'type' => 'int', @@ -2382,6 +2377,16 @@ function system_update_7053() { } /** + * Remove {cache_*}.headers columns. + */ +function system_update_7054() { + $cache_tables = array('cache', 'cache_bootstrap', 'cache_filter', 'cache_form', 'cache_menu', 'cache_page', 'cache_path'); + foreach ($cache_tables as $table) { + db_drop_field($table, 'headers'); + } +} + +/** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. */ |