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
5b9f6d1b
Commit
5b9f6d1b
authored
Nov 18, 2011
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #161 from sparksp/develop/fix-cache
Fixed Cache\Drivers\Driver::remember
parents
bbffa96c
60033e52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
laravel/cache/drivers/driver.php
+2
-3
No files found.
laravel/cache/drivers/driver.php
View file @
5b9f6d1b
...
...
@@ -73,7 +73,7 @@ abstract class Driver {
* @param int $minutes
* @return mixed
*/
public
function
remember
(
$key
,
$
value
,
$minutes
)
public
function
remember
(
$key
,
$
default
,
$minutes
)
{
if
(
!
is_null
(
$item
=
$this
->
get
(
$key
,
null
)))
return
$item
;
...
...
@@ -92,4 +92,4 @@ abstract class Driver {
*/
abstract
public
function
forget
(
$key
);
}
\ 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