Changeset View
Changeset View
Standalone View
Standalone View
src/applications/files/storage/PhabricatorFile.php
Context not available. | |||||
$this->setStorageFormat($format->getStorageFormatKey()); | $this->setStorageFormat($format->getStorageFormatKey()); | ||||
$this->setStorageProperties($properties); | $this->setStorageProperties($properties); | ||||
list($identifier, $new_handle) = $this->writeToEngine( | list($identifier, $new_handle, $integrity_hash) = $this->writeToEngine( | ||||
$engine, | $engine, | ||||
$data, | $data, | ||||
$params); | $params); | ||||
$this->setStorageHandle($new_handle); | $this->setStorageHandle($new_handle); | ||||
$this->setIntegrityHash($integrity_hash); | |||||
$this->save(); | $this->save(); | ||||
$this->deleteFileDataIfUnused( | $this->deleteFileDataIfUnused( | ||||
Context not available. |