Cleanup small things in installer

This commit is contained in:
Franz Liedke 2015-08-26 09:02:28 +02:00
parent e2bb399db9
commit dae8e617ae
2 changed files with 0 additions and 10 deletions

View File

@ -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');
}
}

View File

@ -1,7 +1,6 @@
<?php namespace Flarum\Install;
use Flarum\Http\RouteCollection;
use Flarum\Http\UrlGenerator;
use Flarum\Support\ServiceProvider;
use Psr\Http\Message\ServerRequestInterface;