Remove $this->pdo as it is not used

This commit is contained in:
DariusIII
2019-04-15 11:01:22 +02:00
parent a1f33a5b85
commit 20da602f98
2 changed files with 1 additions and 2 deletions
-2
View File
@@ -37,7 +37,6 @@ abstract class Videos
protected const TYPE_FILM = 1; // Type of video is a Film/Movie
protected const TYPE_ANIME = 2; // Type of video is a Anime
protected $pdo;
/**
* @var bool
*/
@@ -61,7 +60,6 @@ abstract class Videos
];
$options += $defaults;
$this->pdo = DB::connection()->getPdo();
$this->echooutput = ($options['Echo'] && config('nntmux.echocli'));
$this->titleCache = [];
}
+1
View File
@@ -1,4 +1,5 @@
2019-04-15 DariusIII
* Chg: Remove $this->pdo as it is not used
* Chg: Remove unused ReleaseSearch class
2019-04-14 DariusIII
* Fix: Fix test-ReleaseCleaner.php script (Fixes issue #965)