mirror of
https://github.com/glowingblue/flarum-ext-redis-setup.git
synced 2026-03-22 06:57:45 +01:00
@@ -29,9 +29,11 @@ class EnableRedis implements ExtenderInterface
|
||||
{
|
||||
$config = $this->buildConfig();
|
||||
|
||||
(new Redis($config))
|
||||
->disable($this->getDisabledServices())
|
||||
->extend($container, $extension);
|
||||
/** @var Redis $redis */
|
||||
$redis = (new Redis($config))
|
||||
->disable($this->getDisabledServices());
|
||||
|
||||
$redis->extend($container, $extension);
|
||||
}
|
||||
|
||||
private function getDisabledServices(): array
|
||||
|
||||
Reference in New Issue
Block a user