diff --git a/framework/core/src/Install/Console/InstallCommand.php b/framework/core/src/Install/Console/InstallCommand.php index 02c853921..72a021b4c 100644 --- a/framework/core/src/Install/Console/InstallCommand.php +++ b/framework/core/src/Install/Console/InstallCommand.php @@ -206,7 +206,6 @@ class InstallCommand extends Command protected function createAdminUser() { $admin = $this->dataSource->getAdminUser(); - $db = $this->getDatabaseConnection(); $this->info('Creating admin user '.$admin['username']); @@ -236,12 +235,4 @@ class InstallCommand extends Command } } } - - /** - * @return \Illuminate\Database\ConnectionInterface - */ - protected function getDatabaseConnection() - { - return $this->container->make('Illuminate\Database\ConnectionInterface'); - } } diff --git a/framework/core/src/Install/InstallServiceProvider.php b/framework/core/src/Install/InstallServiceProvider.php index 7864979c6..223a3b681 100644 --- a/framework/core/src/Install/InstallServiceProvider.php +++ b/framework/core/src/Install/InstallServiceProvider.php @@ -1,7 +1,6 @@