From dae8e617aec091d9cc73fb0b1fe42c8e3ac322e7 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Wed, 26 Aug 2015 09:02:28 +0200 Subject: [PATCH] Cleanup small things in installer --- src/Install/Console/InstallCommand.php | 9 --------- src/Install/InstallServiceProvider.php | 1 - 2 files changed, 10 deletions(-) diff --git a/src/Install/Console/InstallCommand.php b/src/Install/Console/InstallCommand.php index 02c853921..72a021b4c 100644 --- a/src/Install/Console/InstallCommand.php +++ b/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/src/Install/InstallServiceProvider.php b/src/Install/InstallServiceProvider.php index 7864979c6..223a3b681 100644 --- a/src/Install/InstallServiceProvider.php +++ b/src/Install/InstallServiceProvider.php @@ -1,7 +1,6 @@