diff --git a/lib/private/Log/Errorlog.php b/lib/private/Log/Errorlog.php index 20a3ec9e296..4eb269f093d 100644 --- a/lib/private/Log/Errorlog.php +++ b/lib/private/Log/Errorlog.php @@ -33,7 +33,8 @@ class Errorlog extends LogDetails implements IWriter { /** @var string */ protected $tag; - public function __construct(string $tag = 'owncloud') { + public function __construct(SystemConfig $config, string $tag = 'owncloud') { + parent::__construct($config); $this->tag = $tag; }