Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
db3f7238
Commit
db3f7238
authored
Sep 05, 2014
by
Robin Appelman
Browse files
Clear statcache before getting the mtime from local storage backends
parent
e9029f94
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/private/files/storage/local.php
View file @
db3f7238
...
@@ -134,6 +134,7 @@ if (\OC_Util::runningOnWindows()) {
...
@@ -134,6 +134,7 @@ if (\OC_Util::runningOnWindows()) {
}
}
public
function
filemtime
(
$path
)
{
public
function
filemtime
(
$path
)
{
clearstatcache
(
$this
->
getSourcePath
(
$path
));
return
filemtime
(
$this
->
getSourcePath
(
$path
));
return
filemtime
(
$this
->
getSourcePath
(
$path
));
}
}
...
...
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