Skip to content

Commit

Permalink
Clear only current database, not all of them
Browse files Browse the repository at this point in the history
  • Loading branch information
dakorpar authored and f3l1x committed Dec 19, 2020
1 parent 95e324e commit 26d4f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Caching/RedisStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function remove(string $key): void
*/
public function clean(array $conditions): void
{
$this->client->flushall();
$this->client->flushdb();
}

}

0 comments on commit 26d4f36

Please sign in to comment.