Commit 321f39b9 authored by markpavlitski's avatar markpavlitski Committed by Jeremy

Issue #1427256 by markpavlitski, remove headers parameter not used in drupal 7.x

parent 1d19d3f7
......@@ -112,7 +112,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
return (bool) $cache;
}
function set($cid, $data, $expire = CACHE_PERMANENT, array $headers = NULL) {
function set($cid, $data, $expire = CACHE_PERMANENT) {
$created = time();
// Create new cache object.
......@@ -120,7 +120,6 @@ class MemCacheDrupal implements DrupalCacheInterface {
$cache->cid = $cid;
$cache->data = is_object($data) ? clone $data : $data;
$cache->created = $created;
$cache->headers = $headers;
// Record the previous number of wildcard flushes affecting our cid.
$cache->flushes = $this->wildcard_flushes($cid);
if ($expire == CACHE_TEMPORARY) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment