apps/files_external/lib/ftp.php 1 location
|
@@ 135-138 (lines=4) @@
|
| 132 |
|
} |
| 133 |
|
|
| 134 |
|
public function writeBack($tmpFile) { |
| 135 |
|
if (isset(self::$tempFiles[$tmpFile])) { |
| 136 |
|
$this->uploadFile($tmpFile, self::$tempFiles[$tmpFile]); |
| 137 |
|
unlink($tmpFile); |
| 138 |
|
} |
| 139 |
|
} |
| 140 |
|
|
| 141 |
|
/** |
lib/private/archive/tar.php 1 location
|
@@ 371-374 (lines=4) @@
|
| 368 |
|
* write back temporary files |
| 369 |
|
*/ |
| 370 |
|
function writeBack($tmpFile) { |
| 371 |
|
if (isset(self::$tempFiles[$tmpFile])) { |
| 372 |
|
$this->addFile(self::$tempFiles[$tmpFile], $tmpFile); |
| 373 |
|
unlink($tmpFile); |
| 374 |
|
} |
| 375 |
|
} |
| 376 |
|
|
| 377 |
|
/** |
lib/private/archive/zip.php 1 location
|
@@ 212-215 (lines=4) @@
|
| 209 |
|
* write back temporary files |
| 210 |
|
*/ |
| 211 |
|
function writeBack($tmpFile) { |
| 212 |
|
if(isset(self::$tempFiles[$tmpFile])) { |
| 213 |
|
$this->addFile(self::$tempFiles[$tmpFile], $tmpFile); |
| 214 |
|
unlink($tmpFile); |
| 215 |
|
} |
| 216 |
|
} |
| 217 |
|
|
| 218 |
|
/** |
lib/private/files/storage/dav.php 1 location
|
@@ 402-405 (lines=4) @@
|
| 399 |
|
* @param string $tmpFile |
| 400 |
|
*/ |
| 401 |
|
public function writeBack($tmpFile) { |
| 402 |
|
if (isset(self::$tempFiles[$tmpFile])) { |
| 403 |
|
$this->uploadFile($tmpFile, self::$tempFiles[$tmpFile]); |
| 404 |
|
unlink($tmpFile); |
| 405 |
|
} |
| 406 |
|
} |
| 407 |
|
|
| 408 |
|
/** {@inheritdoc} */ |