Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
apc
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
apc
Commits
7a680b11
Verified
Commit
7a680b11
authored
6 months ago
by
Alberto Paderno
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3464109
: Remove generalWipe() and setupLifeTime()
parent
39cec30f
No related branches found
No related tags found
1 merge request
!39
Issue #3464109: Remove generalWipe() and setupLifeTime()
Pipeline
#235305
passed
6 months ago
Stage: build
Stage: validate
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/apc.test
+0
-21
0 additions, 21 deletions
tests/apc.test
with
0 additions
and
21 deletions
tests/apc.test
+
0
−
21
View file @
7a680b11
...
...
@@ -94,27 +94,6 @@ class ApcCacheTestCase extends DrupalWebTestCase {
$this
->
assertFalse
(
cache_get
(
$cid
,
$bin
),
$message
);
}
/**
* Perform the general wipe.
*
* @param string $bin
* The bin to perform the wipe on.
*/
protected
function
generalWipe
(
$bin
)
{
cache_clear_all
(
NULL
,
$bin
);
}
/**
* Sets up the lifetime settings for caching.
*
* @param int $time
* The time in seconds the cache should minimal live.
*/
protected
function
setupLifetime
(
$time
)
{
variable_set
(
'cache_lifetime'
,
$time
);
variable_set
(
'cache_flush'
,
0
);
}
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment