diff options
Diffstat (limited to 'apps/files_external/lib/dropbox.php')
-rwxr-xr-x | apps/files_external/lib/dropbox.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_external/lib/dropbox.php b/apps/files_external/lib/dropbox.php index 6e464f4e287..5f603b7fe43 100755 --- a/apps/files_external/lib/dropbox.php +++ b/apps/files_external/lib/dropbox.php @@ -269,7 +269,11 @@ class Dropbox extends \OC\Files\Storage\Common { } public function touch($path, $mtime = null) { - return false; + if ($this->file_exists($path)) { + return false; + } else { + $this->file_put_contents($path, ''); + } } } |