Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
620f3ba9
Commit
620f3ba9
authored
Feb 12, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing a bug and cleaning.
parent
b0a223aa
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
laravel/cli/tasks/bundle/providers/provider.php
+1
-2
laravel/cli/tasks/session/manager.php
+2
-4
laravel/database/query.php
+1
-2
No files found.
laravel/cli/tasks/bundle/providers/provider.php
View file @
620f3ba9
...
...
@@ -38,8 +38,7 @@ abstract class Provider {
// Once we have the Zip archive, we can open it and extract it
// into the working directory. By convention, we expect the
// archive to contain one root directory, and all of the
// bundle contents should be stored in that directory.
// archive to contain one root directory with the bundle.
$zip
->
extractTo
(
$work
);
$latest
=
File
::
latest
(
$work
)
->
getRealPath
();
...
...
laravel/cli/tasks/session/manager.php
View file @
620f3ba9
...
...
@@ -30,8 +30,7 @@ class Manager extends Task {
// To create the session table, we will actually create a database
// migration and then run it. This allows the application to stay
// portable through migrations while still having a session table
// generated on the database.
// portable through the framework's migrations system.
$migration
=
$migrator
->
make
(
array
(
'create_session_table'
));
$stub
=
path
(
'sys'
)
.
'cli/tasks/session/migration'
.
EXT
;
...
...
@@ -40,8 +39,7 @@ class Manager extends Task {
// By default no session driver is specified in the configuration.
// Since the developer is requesting that the session table be
// created on the database, we'll set the driver to database
// to save an extra step for the developer.
// created on the database, we'll set the driver.
$config
=
File
::
get
(
path
(
'app'
)
.
'config/session'
.
EXT
);
$config
=
str_replace
(
...
...
laravel/database/query.php
View file @
620f3ba9
...
...
@@ -3,7 +3,6 @@
use
Closure
;
use
Laravel\Database
;
use
Laravel\Paginator
;
use
Laravel\Database\Query\Grammars\Grammar
;
use
Laravel\Database\Query\Grammars\SQLServer
;
class
Query
{
...
...
@@ -107,7 +106,7 @@ class Query {
* @param string $table
* @return void
*/
public
function
__construct
(
Connection
$connection
,
Grammar
$grammar
,
$table
)
public
function
__construct
(
Connection
$connection
,
Query\Grammars\
Grammar
$grammar
,
$table
)
{
$this
->
from
=
$table
;
$this
->
grammar
=
$grammar
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment