Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b43a782b
Commit
b43a782b
authored
Apr 12, 2005
by
Dries Buytaert
Browse files
- Removed some dead code.
parent
2bd8840e
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/bootstrap.inc
View file @
b43a782b
...
...
@@ -201,7 +201,6 @@ function variable_del($name) {
*/
function
cache_get
(
$key
)
{
global
$user
;
$sid
=
session_id
();
// CACHE_ENABLED_LOOSE garbage collection
$cache_flush
=
variable_get
(
'cache_flush'
,
0
);
...
...
@@ -275,7 +274,6 @@ function cache_set($cid, $data, $expire = CACHE_PERMANENT, $headers = NULL) {
*/
function
cache_clear_all
(
$cid
=
NULL
,
$wildcard
=
false
)
{
global
$user
;
$sid
=
session_id
();
if
(
empty
(
$cid
))
{
if
(
variable_get
(
'cache'
,
CACHE_DISABLED
)
==
CACHE_ENABLED_STRICT
)
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment