mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Remove $adapter assignment from install and installtest
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
2017-07-14 DariusIII
|
2017-07-14 DariusIII
|
||||||
|
* Fix: Remove $adapter assignment from install and installtest
|
||||||
* Fix: Fix phpunit install test
|
* Fix: Fix phpunit install test
|
||||||
* Fix: Fix phpunit.xml bootstrap.php path
|
* Fix: Fix phpunit.xml bootstrap.php path
|
||||||
* Mrg: Merge dev-laravel-switch branch into dev
|
* Mrg: Merge dev-laravel-switch branch into dev
|
||||||
|
|||||||
@@ -151,17 +151,6 @@ if (env('ADMIN_USER') === '' || env('ADMIN_PASS') === '' || env('ADMIN_EMAIL') =
|
|||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (env('DB_SYSTEM')) {
|
|
||||||
case 'mysql':
|
|
||||||
$adapter = 'MySql';
|
|
||||||
break;
|
|
||||||
case 'pgsql':
|
|
||||||
$adapter = 'PostgreSql';
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
$capsule = new Capsule;
|
$capsule = new Capsule;
|
||||||
// Same as database configuration file of Laravel.
|
// Same as database configuration file of Laravel.
|
||||||
$capsule->addConnection([
|
$capsule->addConnection([
|
||||||
|
|||||||
@@ -186,17 +186,6 @@ class InstallTest extends \PHPUnit\Framework\TestCase
|
|||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (env('DB_SYSTEM')) {
|
|
||||||
case 'mysql':
|
|
||||||
$adapter = 'MySql';
|
|
||||||
break;
|
|
||||||
case 'pgsql':
|
|
||||||
$adapter = 'PostgreSql';
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
$capsule = new Capsule;
|
$capsule = new Capsule;
|
||||||
// Same as database configuration file of Laravel.
|
// Same as database configuration file of Laravel.
|
||||||
$capsule->addConnection([
|
$capsule->addConnection([
|
||||||
|
|||||||
Reference in New Issue
Block a user