mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Remove some deprecated methods calls
This commit is contained in:
@@ -71,7 +71,7 @@ class MoveCollectionController extends Controller
|
||||
if ($request->request->get("chg_coll_son") == "1") {
|
||||
/** @var \record_adapter $child */
|
||||
foreach ($record->get_children() as $child) {
|
||||
if ($this->getAclForUser()->has_right_on_base($child->get_base_id(), 'candeleterecord')) {
|
||||
if ($this->getAclForUser()->has_right_on_base($child->getBaseId(), 'candeleterecord')) {
|
||||
$child->move_to_collection($collection, $this->getApplicationBox());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user