mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Merge branch 'clean-boxes' into merge-clean-boxes
This commit is contained in:
@@ -110,7 +110,7 @@ class patch_370alpha7a extends patchAbstract
|
||||
|
||||
$media = $app->getMediaFromUri($filePath);
|
||||
|
||||
$collection = \collection::get_from_base_id($app, $row['base_id']);
|
||||
$collection = \collection::getByBaseId($app, $row['base_id']);
|
||||
|
||||
$borderFile = new \Alchemy\Phrasea\Border\File($app, $media, $collection);
|
||||
|
||||
|
@@ -91,7 +91,7 @@ class patch_390alpha13a implements patchInterface
|
||||
}
|
||||
|
||||
try {
|
||||
$collection = \collection::get_from_base_id($app, $row['base_id']);
|
||||
$collection = \collection::getByBaseId($app, $row['base_id']);
|
||||
} catch (\Exception $e) {
|
||||
$app['monolog']->addInfo(sprintf(
|
||||
'Patch %s : Registration for user (%s) could not be turn into doctrine entity as base with id (%s) could not be found.',
|
||||
|
Reference in New Issue
Block a user