Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
062ae875
Commit
062ae875
authored
Mar 30, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
fix conflicts.
parents
7c9228b4
b870ac09
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
7 deletions
+20
-7
artisan
artisan
+1
-1
changes.md
changes.md
+13
-0
query.php
laravel/database/eloquent/query.php
+2
-2
relationship.php
laravel/database/eloquent/relationships/relationship.php
+1
-1
paths.php
paths.php
+1
-1
index.php
public/index.php
+2
-2
No files found.
artisan
View file @
062ae875
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
* Laravel - A PHP Framework For Web Artisans
*
*
* @package Laravel
* @package Laravel
* @version 3.1.
1
* @version 3.1.
2
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
changes.md
View file @
062ae875
...
@@ -4,6 +4,8 @@
...
@@ -4,6 +4,8 @@
-
[
Laravel 3.2
](
#3.2
)
-
[
Laravel 3.2
](
#3.2
)
-
[
Upgrading From 3.1
](
#upgrade-3.2
)
-
[
Upgrading From 3.1
](
#upgrade-3.2
)
-
[
Laravel 3.1.2
](
#3.1.2
)
-
[
Upgrading From 3.1.1
](
#upgrade-3.1.2
)
-
[
Laravel 3.1.1
](
#3.1.1
)
-
[
Laravel 3.1.1
](
#3.1.1
)
-
[
Upgrading From 3.1
](
#upgrade-3.1.1
)
-
[
Upgrading From 3.1
](
#upgrade-3.1.1
)
-
[
Laravel 3.1
](
#3.1
)
-
[
Laravel 3.1
](
#3.1
)
...
@@ -21,6 +23,17 @@
...
@@ -21,6 +23,17 @@
<a
name=
"upgrade-3.2"
></a>
<a
name=
"upgrade-3.2"
></a>
## Upgrading From 3.1
## Upgrading From 3.1
-
Replace the
**laravel**
folder.
-
Add new
**vendors**
folder.
<a
name=
"3.1.2"
></a>
## Laravel 3.1.2
-
Fixes Eloquent query method constructor conflict.
<a
name=
"upgrade-3.1.2"
></a>
## Upgrade From 3.1.1
-
Replace the
**laravel**
folder.
-
Replace the
**laravel**
folder.
<a
name=
"3.1.1"
></a>
<a
name=
"3.1.1"
></a>
...
...
laravel/database/eloquent/query.php
View file @
062ae875
...
@@ -43,7 +43,7 @@ class Query {
...
@@ -43,7 +43,7 @@ class Query {
{
{
$this
->
model
=
(
$model
instanceof
Model
)
?
$model
:
new
$model
;
$this
->
model
=
(
$model
instanceof
Model
)
?
$model
:
new
$model
;
$this
->
table
=
$this
->
query
();
$this
->
table
=
$this
->
table
();
}
}
/**
/**
...
@@ -245,7 +245,7 @@ class Query {
...
@@ -245,7 +245,7 @@ class Query {
*
*
* @return Query
* @return Query
*/
*/
protected
function
query
()
protected
function
table
()
{
{
return
$this
->
connection
()
->
table
(
$this
->
model
->
table
());
return
$this
->
connection
()
->
table
(
$this
->
model
->
table
());
}
}
...
...
laravel/database/eloquent/relationships/relationship.php
View file @
062ae875
...
@@ -51,7 +51,7 @@ abstract class Relationship extends Query {
...
@@ -51,7 +51,7 @@ abstract class Relationship extends Query {
// Next we'll set the fluent query builder for the relationship and
// Next we'll set the fluent query builder for the relationship and
// constrain the query such that it only returns the models that
// constrain the query such that it only returns the models that
// are appropriate for the relationship.
// are appropriate for the relationship.
$this
->
table
=
$this
->
query
();
$this
->
table
=
$this
->
table
();
$this
->
constrain
();
$this
->
constrain
();
}
}
...
...
paths.php
View file @
062ae875
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
* Laravel - A PHP Framework For Web Artisans
*
*
* @package Laravel
* @package Laravel
* @version 3.1.
1
* @version 3.1.
2
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
...
public/index.php
View file @
062ae875
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* Laravel - A PHP Framework For Web Artisans
* Laravel - A PHP Framework For Web Artisans
*
*
* @package Laravel
* @package Laravel
* @version 3.1.
1
* @version 3.1.
2
* @author Taylor Otwell <taylorotwell@gmail.com>
* @author Taylor Otwell <taylorotwell@gmail.com>
* @link http://laravel.com
* @link http://laravel.com
*/
*/
...
@@ -31,4 +31,4 @@ unset($web);
...
@@ -31,4 +31,4 @@ unset($web);
// --------------------------------------------------------------
// --------------------------------------------------------------
// Launch Laravel.
// Launch Laravel.
// --------------------------------------------------------------
// --------------------------------------------------------------
require
path
(
'sys'
)
.
'laravel.php'
;
require
path
(
'sys'
)
.
'laravel.php'
;
\ No newline at end of file
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