An attempt to obtain a functional version with the various fixes implemented so far.

This commit is contained in:
darkpisto
2025-12-11 14:05:40 +01:00
parent 6a36b24162
commit ddcaf72e6e
13 changed files with 65 additions and 57 deletions

View File

@@ -12,7 +12,7 @@ class Helper
public function __construct()
{
$this->conn = \OC::$server->get(\OCP\IDBConnection::class);
$this->conn = \OC::$server->getDatabaseConnection();
$this->queryBuilder = $this->conn->getQueryBuilder();
$this->prefixedTable = $this->queryBuilder->getTableName($this->table);
//$container = \OC::$server->query(\OCP\IServerContainer::class);
@@ -130,7 +130,7 @@ class Helper
public function getDBType(): string
{
return \OC::$server->get(\OCP\IConfig::class)->getSystemValue('dbtype', "mysql");
return \OC::$server->getConfig()->getSystemValue('dbtype', "mysql");
}
public function getExtra($data)