SAAS-596: Store file size and hash in database

Updated schema and added filesize and md5_hash columns.
Changed getFileSize functions to return the value stored in the
database.
Removed getFileSize from the cloud storage classes.
This commit is contained in:
drigato 2015-02-17 14:51:51 -05:00
parent a1436bfebb
commit 6ccc634782
12 changed files with 238 additions and 53 deletions

View file

@ -18,12 +18,6 @@ class FileStorageBackend extends StorageBackend
return "";
}
public function getFileSize($resourceId)
{
//TODO
return filesize($resourceId);
}
public function deletePhysicalFile($resourceId)
{
//TODO