Use DB class instead of Settings class where advanced settings functions are not used

This commit is contained in:
DariusIII
2016-09-20 10:37:19 +02:00
parent 1f0817044b
commit 968c05e75e
76 changed files with 203 additions and 194 deletions
+2 -2
View File
@@ -3,10 +3,10 @@ require_once realpath(dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR .
use nntmux\Category;
use nntmux\ConsoleTools;
use nntmux\db\Settings;
use nntmux\db\DB;
$category = new Category();
$pdo = new Settings();
$pdo = new DB();
$consoletools = new ConsoleTools(['ColorCLI' => $pdo->log]);
$ran = false;