diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-05-18 18:26:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-05-18 18:26:30 +0000 |
commit | 09b0283675f938c89a2c541b6649deb10e7c5040 (patch) | |
tree | b057e0dd997cbe6ab096c3651593768fbb76dcf4 /modules/system/system.install | |
parent | d4200e260003dc1e75cd27db8f1b286fa6a30931 (diff) | |
download | brdo-09b0283675f938c89a2c541b6649deb10e7c5040.tar.gz brdo-09b0283675f938c89a2c541b6649deb10e7c5040.tar.bz2 |
- Patch #692044 by Damien Tournoud, effulgentsia: a site with statistics module enabled is much slower in serving cached pages in D7 than in D6.
Diffstat (limited to 'modules/system/system.install')
-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. */ |