MemcacheCacheDriver.php: fix init again

This commit is contained in:
Zankaria 2025-05-30 00:22:42 +02:00
parent eed2b2986a
commit 2b30929bc9

View file

@ -40,10 +40,9 @@ class MemcachedCacheDriver implements CacheDriver {
if ($this->inner->resetServerList()) {
throw new \RuntimeException('Unable to reset the memcached server list!');
}
if ($this->inner->addServer($server_uri, $server_port, $server_weight)) {
throw new \RuntimeException('Unable to add memcached servers!');
}
}
if ($this->inner->addServer($server_uri, $server_port, $server_weight)) {
throw new \RuntimeException('Unable to add memcached servers!');
}
}
}