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
8457238a
Commit
8457238a
authored
Mar 21, 2012
by
Taylor Otwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert back APC and Memcached drivers.
parent
2809eb26
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
apc.php
laravel/cache/drivers/apc.php
+2
-2
memcached.php
laravel/cache/drivers/memcached.php
+2
-2
No files found.
laravel/cache/drivers/apc.php
View file @
8457238a
...
...
@@ -41,7 +41,7 @@ class APC extends Driver {
{
if
((
$cache
=
apc_fetch
(
$this
->
key
.
$key
))
!==
false
)
{
return
unserialize
(
$cache
)
;
return
$cache
;
}
}
...
...
@@ -60,7 +60,7 @@ class APC extends Driver {
*/
public
function
put
(
$key
,
$value
,
$minutes
)
{
apc_store
(
$this
->
key
.
$key
,
serialize
(
$value
)
,
$minutes
*
60
);
apc_store
(
$this
->
key
.
$key
,
$value
,
$minutes
*
60
);
}
/**
...
...
laravel/cache/drivers/memcached.php
View file @
8457238a
...
...
@@ -49,7 +49,7 @@ class Memcached extends Driver {
{
if
((
$cache
=
$this
->
memcache
->
get
(
$this
->
key
.
$key
))
!==
false
)
{
return
unserialize
(
$cache
)
;
return
$cache
;
}
}
...
...
@@ -68,7 +68,7 @@ class Memcached extends Driver {
*/
public
function
put
(
$key
,
$value
,
$minutes
)
{
$this
->
memcache
->
set
(
$this
->
key
.
$key
,
serialize
(
$value
)
,
0
,
$minutes
*
60
);
$this
->
memcache
->
set
(
$this
->
key
.
$key
,
$value
,
0
,
$minutes
*
60
);
}
/**
...
...
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