SAAS-596: Store file size and hash in database
Removed getFileSize from CloudFile.php since it can call the parent function. Moved setting filesize metadata from cloud_storage_uploader.
This commit is contained in:
parent
fe7071b5e3
commit
5bd3371ec2
2 changed files with 1 additions and 12 deletions
|
@ -44,14 +44,6 @@ class CloudFile extends BaseCloudFile
|
|||
return $this->proxyStorageBackend->getAbsoluteFilePath($this->getResourceId());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the file size in bytes.
|
||||
*/
|
||||
public function getFileSize()
|
||||
{
|
||||
return $this->getDbFilesize();
|
||||
}
|
||||
|
||||
public function getFilename()
|
||||
{
|
||||
return $this->getDbFilepath();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue