An attempt to obtain a functional version with the various fixes implemented so far.
This commit is contained in:
@@ -11,9 +11,12 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class Aria2Command extends Base
|
||||
{
|
||||
// public function __construct()
|
||||
private $dbconn;
|
||||
public function __construct(\OCP\IDBConnection $connection)
|
||||
{
|
||||
// $this->dbconn = new DbHelper();
|
||||
|
||||
$this->dbconn = new DbHelper($connection);
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user