Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
a1828ff0
Commit
a1828ff0
authored
Apr 01, 2015
by
Pierre Jochem
Browse files
More secure proposal
parent
297e2924
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/cache/fileglobalgc.php
View file @
a1828ff0
...
...
@@ -72,7 +72,9 @@ class FileGlobalGC extends Job {
}
$paths
=
$this
->
getExpiredPaths
(
$cacheDir
,
$now
);
array_walk
(
$paths
,
function
(
$file
)
{
unlink
(
$file
);
if
(
file_exists
(
$file
))
{
unlink
(
$file
);
}
});
}
}
Write
Preview
Supports
Markdown
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