}
// set encryption data
- $fileInfo['encrypted'] = 1;
+ $fileInfo['encrypted'] = true;
$fileInfo['size'] = $this->size;
$fileInfo['unencrypted_size'] = $this->unencryptedSize;
// Integration testing:
//// TODO: test new encryption with versioning
- //// TODO: test new encryption with sharing
+ //// DONE: test new encryption with sharing
//// TODO: test new encryption with proxies
if ( $realSize > 0 ) {
$cached = $this->view->getFileInfo( $path );
- $cached['encrypted'] = 1;
+ $cached['encrypted'] = true;
// set the size
$cached['unencrypted_size'] = $realSize;