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
5c03938e
Commit
5c03938e
authored
May 21, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into staging
parents
a303d66a
dbb4c169
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
17 additions
and
15 deletions
+17
-15
strings.php
application/config/strings.php
+1
-0
driver.php
laravel/cache/drivers/driver.php
+1
-1
config.php
laravel/config.php
+0
-2
cookie.php
laravel/cookie.php
+1
-1
connection.php
laravel/database/connection.php
+2
-2
query.php
laravel/database/eloquent/query.php
+2
-2
query.php
laravel/database/query.php
+4
-1
changes.md
laravel/documentation/changes.md
+1
-0
file.php
laravel/file.php
+1
-1
lang.php
laravel/lang.php
+3
-3
request.php
laravel/request.php
+1
-1
payload.php
laravel/session/payload.php
+0
-1
No files found.
application/config/strings.php
View file @
5c03938e
...
...
@@ -95,6 +95,7 @@ return array(
'series'
,
'sheep'
,
'species'
,
'moose'
,
),
/*
...
...
laravel/cache/drivers/driver.php
View file @
5c03938e
<?php
namespace
Laravel\Cache\Drivers
;
use
Closure
;
<?php
namespace
Laravel\Cache\Drivers
;
abstract
class
Driver
{
...
...
laravel/config.php
View file @
5c03938e
<?php
namespace
Laravel
;
defined
(
'DS'
)
or
die
(
'No direct script access.'
);
use
Closure
;
class
Config
{
/**
...
...
laravel/cookie.php
View file @
5c03938e
<?php
namespace
Laravel
;
use
Closure
;
<?php
namespace
Laravel
;
class
Cookie
{
...
...
laravel/database/connection.php
View file @
5c03938e
...
...
@@ -97,14 +97,14 @@ class Connection {
/**
* Execute a callback wrapped in a database transaction.
*
* @param
Closure
$callback
* @param
callback
$callback
* @return void
*/
public
function
transaction
(
$callback
)
{
$this
->
pdo
->
beginTransaction
();
// After beginning the database transaction, we will call the
Closure
// After beginning the database transaction, we will call the
callback
// so that it can do its database work. If an exception occurs we'll
// rollback the transaction and re-throw back to the developer.
try
...
...
laravel/database/eloquent/query.php
View file @
5c03938e
...
...
@@ -129,9 +129,9 @@ class Query {
{
foreach
(
$this
->
model_includes
()
as
$relationship
=>
$constraints
)
{
// If the relationship is nested, we will skip l
ao
ding it here and let
// If the relationship is nested, we will skip l
oa
ding it here and let
// the load method parse and set the nested eager loads on the right
// relationship when it is getting ready to eager l
ao
d.
// relationship when it is getting ready to eager l
oa
d.
if
(
str_contains
(
$relationship
,
'.'
))
{
continue
;
...
...
laravel/database/query.php
View file @
5c03938e
...
...
@@ -414,7 +414,10 @@ class Query {
// Once the callback has been run on the query, we will store the nested
// query instance on the where clause array so that it's passed to the
// query's query grammar instance when building.
$this
->
wheres
[]
=
compact
(
'type'
,
'query'
,
'connector'
);
if
(
$query
->
wheres
!==
null
)
{
$this
->
wheres
[]
=
compact
(
'type'
,
'query'
,
'connector'
);
}
$this
->
bindings
=
array_merge
(
$this
->
bindings
,
$query
->
bindings
);
...
...
laravel/documentation/changes.md
View file @
5c03938e
...
...
@@ -35,6 +35,7 @@
-
[
Added `unless` structure to Blade template engine
](
/docs/views/templating#blade-unless
)
.
-
[
Added Blade comments
](
/docs/views/templating#blade-comments
)
.
-
[
Added simpler environment management
](
/docs/install#environments
)
.
-
Added
`Blade::extend()`
method to define custom blade compilers.
-
Added
`View::exists`
method.
-
Use
[
Memcached
](
http://php.net/manual/en/book.memcached.php
)
API instead of older
[
Memcache
](
http://php.net/manual/en/book.memcache.php
)
API.
-
Added support for bundles outside of the bundle directory.
...
...
laravel/file.php
View file @
5c03938e
<?php
namespace
Laravel
;
use
Closure
,
FilesystemIterator
as
fIterator
;
<?php
namespace
Laravel
;
use
FilesystemIterator
as
fIterator
;
class
File
{
...
...
laravel/lang.php
View file @
5c03938e
<?php
namespace
Laravel
;
use
Closure
;
<?php
namespace
Laravel
;
class
Lang
{
...
...
@@ -103,7 +103,7 @@ class Lang {
* $line = Lang::line('validation.required')->get('sp');
*
* // Return a default value if the line doesn't exist
* $line = Lang::line('validation.required'
,
null, 'Default');
* $line = Lang::line('validation.required'
)->get(
null, 'Default');
* </code>
*
* @param string $language
...
...
@@ -249,4 +249,4 @@ class Lang {
return
(
string
)
$this
->
get
();
}
}
\ No newline at end of file
}
laravel/request.php
View file @
5c03938e
<?php
namespace
Laravel
;
use
Closure
;
<?php
namespace
Laravel
;
class
Request
{
...
...
laravel/session/payload.php
View file @
5c03938e
<?php
namespace
Laravel\Session
;
use
Closure
;
use
Laravel\Str
;
use
Laravel\Config
;
use
Laravel\Cookie
;
...
...
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