mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
Use rhumsaa/uuid instead of custom uuid implementation
This commit is contained in:
@@ -19,6 +19,7 @@ use Alchemy\Phrasea\SearchEngine\SearchEngineInterface;
|
||||
use Alchemy\Phrasea\SearchEngine\SearchEngineOptions;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use MediaVorus\MediaVorus;
|
||||
use Rhumsaa\Uuid\Uuid;
|
||||
use Symfony\Component\HttpFoundation\File\File as SymfoFile;
|
||||
|
||||
class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
@@ -1190,7 +1191,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
|
||||
':parent_record_id' => 1,
|
||||
':type' => 'unknown',
|
||||
':sha256' => null,
|
||||
':uuid' => \uuid::generate_v4(),
|
||||
':uuid' => Uuid::uuid4(),
|
||||
':originalname' => null,
|
||||
':mime' => null,
|
||||
]);
|
||||
|
Reference in New Issue
Block a user