Skip to content

Commit 136361c

Browse files
authored
Revert "Support taggeable store flushed cache events (#55223)" (#55232)
This reverts commit ba7aa73.
1 parent ba7aa73 commit 136361c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Illuminate/Cache/TaggedCache.php

-6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Illuminate\Cache;
44

5-
use Illuminate\Cache\Events\CacheFlushed;
6-
use Illuminate\Cache\Events\CacheFlushing;
75
use Illuminate\Contracts\Cache\Store;
86

97
class TaggedCache extends Repository
@@ -79,12 +77,8 @@ public function decrement($key, $value = 1)
7977
*/
8078
public function flush()
8179
{
82-
parent::event(new CacheFlushing($this->getName()));
83-
8480
$this->tags->reset();
8581

86-
parent::event(new CacheFlushed($this->getName()));
87-
8882
return true;
8983
}
9084

0 commit comments

Comments
 (0)