mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 18:33:13 +00:00
Merge pull request #1042 from moctardiouf/fixmigration
[3.8] fix migration from 3.1
This commit is contained in:
@@ -124,7 +124,7 @@ class Step31 implements DatasUpgraderInterface
|
||||
$uuid = \uuid::generate_v4();
|
||||
try {
|
||||
$media = $this->app['mediavorus']->guess($pathfile);
|
||||
$collection = \collection::get_from_coll_id($app, $databox, (int) $record['coll_id']);
|
||||
$collection = \collection::get_from_coll_id($this->$app, $databox, (int) $record['coll_id']);
|
||||
|
||||
$file = new File($this->app, $media, $collection);
|
||||
$uuid = $file->getUUID(true, true);
|
||||
|
||||
Reference in New Issue
Block a user