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
eeee9eac
Commit
eeee9eac
authored
Apr 13, 2014
by
Robin McCorkell
Browse files
Prevent error from cache update on deleted files
parent
869e7a51
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/files/storage/local.php
View file @
eeee9eac
...
...
@@ -305,7 +305,11 @@ if (\OC_Util::runningOnWindows()) {
* @return bool
*/
public
function
hasUpdated
(
$path
,
$time
)
{
return
$this
->
filemtime
(
$path
)
>
$time
;
if
(
$this
->
file_exists
(
$path
))
{
return
$this
->
filemtime
(
$path
)
>
$time
;
}
else
{
return
true
;
}
}
/**
...
...
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