summaryrefslogtreecommitdiff
path: root/modules/update
diff options
context:
space:
mode:
Diffstat (limited to 'modules/update')
-rw-r--r--modules/update/update.install7
-rw-r--r--modules/update/update.module4
2 files changed, 7 insertions, 4 deletions
diff --git a/modules/update/update.install b/modules/update/update.install
index 00935f190..f324ce570 100644
--- a/modules/update/update.install
+++ b/modules/update/update.install
@@ -167,3 +167,10 @@ function update_update_7000() {
$queue = DrupalQueue::get('update_fetch_tasks');
$queue->createQueue();
}
+
+/**
+ * Remove {cache_update}.headers columns.
+ */
+function update_update_7001() {
+ db_drop_field('cache_update', 'headers');
+}
diff --git a/modules/update/update.module b/modules/update/update.module
index 02bdabaef..1704fdfff 100644
--- a/modules/update/update.module
+++ b/modules/update/update.module
@@ -653,9 +653,6 @@ function theme_update_last_check($variables) {
/**
* Store data in the private update status cache table.
*
- * Note: this function completely ignores the {cache_update}.headers field
- * since that is meaningless for the kinds of data we're caching.
- *
* @param $cid
* The cache ID to save the data with.
* @param $data
@@ -671,7 +668,6 @@ function _update_cache_set($cid, $data, $expire) {
$fields = array(
'created' => REQUEST_TIME,
'expire' => $expire,
- 'headers' => NULL,
);
if (!is_string($data)) {
$fields['data'] = serialize($data);