fix conflicts.
This commit is contained in:
commit
062ae8756c
2
artisan
2
artisan
|
@ -3,7 +3,7 @@
|
|||
* Laravel - A PHP Framework For Web Artisans
|
||||
*
|
||||
* @package Laravel
|
||||
* @version 3.1.1
|
||||
* @version 3.1.2
|
||||
* @author Taylor Otwell <taylorotwell@gmail.com>
|
||||
* @link http://laravel.com
|
||||
*/
|
||||
|
|
13
changes.md
13
changes.md
|
@ -4,6 +4,8 @@ ## Contents
|
|||
|
||||
- [Laravel 3.2](#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)
|
||||
- [Upgrading From 3.1](#upgrade-3.1.1)
|
||||
- [Laravel 3.1](#3.1)
|
||||
|
@ -21,6 +23,17 @@ ## Laravel 3.2
|
|||
<a name="upgrade-3.2"></a>
|
||||
## 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.
|
||||
|
||||
<a name="3.1.1"></a>
|
||||
|
|
|
@ -43,7 +43,7 @@ public function __construct($model)
|
|||
{
|
||||
$this->model = ($model instanceof Model) ? $model : new $model;
|
||||
|
||||
$this->table = $this->query();
|
||||
$this->table = $this->table();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -245,7 +245,7 @@ protected function model_includes()
|
|||
*
|
||||
* @return Query
|
||||
*/
|
||||
protected function query()
|
||||
protected function table()
|
||||
{
|
||||
return $this->connection()->table($this->model->table());
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ public function __construct($model, $associated, $foreign)
|
|||
// Next we'll set the fluent query builder for the relationship and
|
||||
// constrain the query such that it only returns the models that
|
||||
// are appropriate for the relationship.
|
||||
$this->table = $this->query();
|
||||
$this->table = $this->table();
|
||||
|
||||
$this->constrain();
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Laravel - A PHP Framework For Web Artisans
|
||||
*
|
||||
* @package Laravel
|
||||
* @version 3.1.1
|
||||
* @version 3.1.2
|
||||
* @author Taylor Otwell <taylorotwell@gmail.com>
|
||||
* @link http://laravel.com
|
||||
*/
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* Laravel - A PHP Framework For Web Artisans
|
||||
*
|
||||
* @package Laravel
|
||||
* @version 3.1.1
|
||||
* @version 3.1.2
|
||||
* @author Taylor Otwell <taylorotwell@gmail.com>
|
||||
* @link http://laravel.com
|
||||
*/
|
||||
|
@ -31,4 +31,4 @@
|
|||
// --------------------------------------------------------------
|
||||
// Launch Laravel.
|
||||
// --------------------------------------------------------------
|
||||
require path('sys').'laravel.php';
|
||||
require path('sys').'laravel.php';
|
Loading…
Reference in New Issue