mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
change : removed "/setmetadatas" from route, the http verb "PATCH" on "record" entity is ok
fix : unknown field now throws exception (no more erase all...) add : set "base_id":x to change collection cleanup : removed unused parm to recordadapter::move_to_collection()
This commit is contained in:
@@ -242,7 +242,7 @@ class RecordController extends Controller
|
||||
$this->getEventDispatcher()->dispatch(RecordEvents::DELETE, new DeleteEvent($record));
|
||||
} else {
|
||||
// move to trash collection
|
||||
$record->move_to_collection($trashCollectionsBySbasId[$sbasId], $this->getApplicationBox());
|
||||
$record->move_to_collection($trashCollectionsBySbasId[$sbasId]);
|
||||
// disable permalinks
|
||||
foreach($record->get_subdefs() as $subdef) {
|
||||
if( ($pl = $subdef->get_permalink()) ) {
|
||||
|
Reference in New Issue
Block a user