Merge branch 'clean-boxes' into merge-clean-boxes

This commit is contained in:
Thibaud Fabre
2016-01-06 19:53:43 +01:00
56 changed files with 2546 additions and 902 deletions

View File

@@ -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);

View File

@@ -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.',