Just a little cleaner in touch

remotes/origin/stable5
Henrik Kjölhede 12 years ago
parent 9e42a36fd8
commit bcf98879cb
  1. 2
      apps/files_external/lib/sftp.php

@ -239,7 +239,7 @@ class SFTP extends OC\Files\Storage\Common {
public function touch($path, $mtime=null) {
try {
if ($mtime != null) return false;
if (!is_null($mtime)) return false;
if (!$this->file_exists($path)) {
$this->client->put($this->abs_path($path), '');
} else {

Loading…
Cancel
Save