Commit 941d5e29 authored by Ben Hayward's avatar Ben Hayward

Quickfix

1 merge request!337[Sprint/NuancedNumbat](feat): Enable feature flags when staging cookie set. #857
Pipeline #85094741 canceled with stages
in 27 seconds
......@@ -9,7 +9,6 @@
namespace Minds\Core\Features;
use Minds\Core\Di\Di;
use Minds\Common\Cookie;
use Minds\Core\Session;
class Manager
......@@ -19,11 +18,8 @@ class Manager
/** @var Config $config */
private $config;
/** @var Cookie $cookie */
private $cookie;
public function __construct($config = null, $cookie = null)
public function __construct($config = null)
{
$this->config = $config ?: Di::_()->get('Config');
$this->cookie = $cookie ?: new Cookie;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment