1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 04:54:03 +00:00

Fix keys issue

This commit is contained in:
Samuel Štancl 2019-08-17 14:02:16 +02:00
parent 3bada4ef32
commit 71a63520c8

View file

@ -88,7 +88,7 @@ class RedisStorageDriver implements StorageDriver
$redis_prefix = $this->redis->getOption($this->redis->client()::OPT_PREFIX) ?? $redis_prefix;
}
$all_keys = $this->redis->keys($redis_prefix . 'tenants:*');
$all_keys = $this->redis->keys('tenants:*');
$hashes = array_map(function ($key) use ($redis_prefix) {
// Left strip $redis_prefix from $key