Skip to content

Commit 3105279

Browse files
committed
Make all adapters taggable
1 parent 0a5fe18 commit 3105279

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

FilesystemCachePool.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ protected function clearAllObjectsFromCache()
108108
*/
109109
protected function clearOneObjectFromCache($key)
110110
{
111-
$this->preRemoveItem($key);
112-
113111
return $this->forceClear($key);
114112
}
115113

@@ -161,18 +159,6 @@ private function getFilePath($key)
161159
return sprintf('%s/%s', $this->folder, $key);
162160
}
163161

164-
/**
165-
* {@inheritdoc}
166-
*/
167-
public function save(CacheItemInterface $item)
168-
{
169-
if ($item instanceof TaggableItemInterface) {
170-
$this->saveTags($item);
171-
}
172-
173-
return parent::save($item);
174-
}
175-
176162
/**
177163
* {@inheritdoc}
178164
*/

0 commit comments

Comments
 (0)