Commit 620f3ba9 authored by Taylor Otwell's avatar Taylor Otwell

fixing a bug and cleaning.

parent b0a223aa
...@@ -38,8 +38,7 @@ abstract class Provider { ...@@ -38,8 +38,7 @@ abstract class Provider {
// Once we have the Zip archive, we can open it and extract it // Once we have the Zip archive, we can open it and extract it
// into the working directory. By convention, we expect the // into the working directory. By convention, we expect the
// archive to contain one root directory, and all of the // archive to contain one root directory with the bundle.
// bundle contents should be stored in that directory.
$zip->extractTo($work); $zip->extractTo($work);
$latest = File::latest($work)->getRealPath(); $latest = File::latest($work)->getRealPath();
......
...@@ -30,8 +30,7 @@ class Manager extends Task { ...@@ -30,8 +30,7 @@ class Manager extends Task {
// To create the session table, we will actually create a database // To create the session table, we will actually create a database
// migration and then run it. This allows the application to stay // migration and then run it. This allows the application to stay
// portable through migrations while still having a session table // portable through the framework's migrations system.
// generated on the database.
$migration = $migrator->make(array('create_session_table')); $migration = $migrator->make(array('create_session_table'));
$stub = path('sys').'cli/tasks/session/migration'.EXT; $stub = path('sys').'cli/tasks/session/migration'.EXT;
...@@ -40,8 +39,7 @@ class Manager extends Task { ...@@ -40,8 +39,7 @@ class Manager extends Task {
// By default no session driver is specified in the configuration. // By default no session driver is specified in the configuration.
// Since the developer is requesting that the session table be // Since the developer is requesting that the session table be
// created on the database, we'll set the driver to database // created on the database, we'll set the driver.
// to save an extra step for the developer.
$config = File::get(path('app').'config/session'.EXT); $config = File::get(path('app').'config/session'.EXT);
$config = str_replace( $config = str_replace(
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
use Closure; use Closure;
use Laravel\Database; use Laravel\Database;
use Laravel\Paginator; use Laravel\Paginator;
use Laravel\Database\Query\Grammars\Grammar;
use Laravel\Database\Query\Grammars\SQLServer; use Laravel\Database\Query\Grammars\SQLServer;
class Query { class Query {
...@@ -107,7 +106,7 @@ class Query { ...@@ -107,7 +106,7 @@ class Query {
* @param string $table * @param string $table
* @return void * @return void
*/ */
public function __construct(Connection $connection, Grammar $grammar, $table) public function __construct(Connection $connection, Query\Grammars\Grammar $grammar, $table)
{ {
$this->from = $table; $this->from = $table;
$this->grammar = $grammar; $this->grammar = $grammar;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment