mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Extract repository and factory classes for collections
This commit is contained in:
@@ -58,7 +58,7 @@ class MoveCollectionController extends Controller
|
||||
}
|
||||
|
||||
try {
|
||||
$collection = \collection::get_from_base_id($this->app, $request->request->get('base_id'));
|
||||
$collection = \collection::getByBaseId($this->app, $request->request->get('base_id'));
|
||||
} catch (\Exception_Databox_CollectionNotFound $e) {
|
||||
$datas['message'] = $this->app->trans('Invalid target collection');
|
||||
|
||||
|
Reference in New Issue
Block a user