Update record adapter

This commit is contained in:
Romain Neutron
2012-09-25 17:12:40 +02:00
parent fa248d40cb
commit 6023312d7b

View File

@@ -1394,7 +1394,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
':parent_record_id' => 0,
':type' => $file->getType() ? $file->getType()->getType() : 'unknown',
':sha256' => $file->getMedia()->getHash('sha256'),
':uuid' => $file->getUUID(),
':uuid' => $file->getUUID(true),
':originalname' => $file->getOriginalName(),
':mime' => $file->getFile()->getMimeType(),
));