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
1062f4fe
Commit
1062f4fe
authored
Nov 27, 2014
by
Joas Schilling
Browse files
Check file existance in MappedLocal in hasUpdated()
Only fixed in Local by
eeee9eac
parent
b886d3d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/files/storage/mappedlocal.php
View file @
1062f4fe
...
...
@@ -337,7 +337,11 @@ class MappedLocal extends \OC\Files\Storage\Common {
* @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