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

remove comment [ci skip]

This commit is contained in:
Samuel Štancl 2019-02-10 21:22:08 +01:00
parent f3e2642fa2
commit feeac80345

View file

@ -49,7 +49,6 @@ class RedisStorageDriver implements StorageDriver
public function createTenant(string $domain, string $uuid): array public function createTenant(string $domain, string $uuid): array
{ {
$this->redis->hmset("domains:$domain", 'tenant_id', $uuid); $this->redis->hmset("domains:$domain", 'tenant_id', $uuid);
//$this->redis->hmset("tenants:$uuid", 'uuid', $uuid, 'domain', $domain);
$this->redis->hmset("tenants:$uuid", 'uuid', json_encode($uuid), 'domain', json_encode($domain)); $this->redis->hmset("tenants:$uuid", 'uuid', json_encode($uuid), 'domain', json_encode($domain));
return $this->redis->hgetall("tenants:$uuid"); return $this->redis->hgetall("tenants:$uuid");
} }