Skip to content

Commit b04c371

Browse files
committed
Make all adapters taggable
1 parent 6eddf1b commit b04c371

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

ArrayCachePool.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ protected function clearAllObjectsFromCache()
119119
protected function clearOneObjectFromCache($key)
120120
{
121121
$this->commit();
122-
$this->preRemoveItem($key);
123122
$keyString = $this->getHierarchyKey($key, $path);
124123
if (isset($this->cache[$path])) {
125124
$this->cache[$path]++;
@@ -157,18 +156,6 @@ protected function storeItemInCache(PhpCacheItem $item, $ttl)
157156
return true;
158157
}
159158

160-
/**
161-
* {@inheritdoc}
162-
*/
163-
public function save(CacheItemInterface $item)
164-
{
165-
if ($item instanceof TaggableItemInterface) {
166-
$this->saveTags($item);
167-
}
168-
169-
return parent::save($item);
170-
}
171-
172159
/**
173160
* {@inheritdoc}
174161
*/

0 commit comments

Comments
 (0)