renamed class DBConn to DbHelper

This commit is contained in:
huangjx
2022-01-28 21:47:02 +08:00
parent 7cf0f0e336
commit 238b45850b
7 changed files with 12 additions and 139 deletions

View File

@@ -1,7 +1,7 @@
<?php
namespace OCA\NCDownloader\Tools;
use OCA\NCDownloader\Tools\DBConn;
use OCA\NCDownloader\Tools\DbHelper;
use OCA\NCDownloader\Tools\Helper;
class YoutubeHelper
@@ -18,7 +18,7 @@ class YoutubeHelper
public $filesize = null;
public function __construct()
{
$this->dbconn = new DBConn();
$this->dbconn = new DbHelper();
$this->tablename = $this->dbconn->queryBuilder->getTableName("ncdownloader_info");
$this->user = \OC::$server->getUserSession()->getUser()->getUID();
}