Remove nntmux/Category class and move its functions into Category model

This commit is contained in:
DariusIII
2018-01-11 11:03:12 +01:00
parent 5c1fd3558e
commit cdf881efde
59 changed files with 573 additions and 833 deletions
+1 -2
View File
@@ -4,11 +4,10 @@
require_once dirname(__DIR__, 3).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
use App\Models\Category;
use nntmux\db\DB;
use nntmux\Console;
use nntmux\Category;
$category = new Category();
$pdo = new DB();
$console = new Console(['Echo' => true, 'Settings' => $pdo]);