Add a moveChildren method to the objectManager and implement objectMoveChildren for version
and version_queue. Use this to move versions.
This commit is contained in:
committed by
WineHQ
parent
886cdeafa3
commit
cf81d542ee
@@ -64,6 +64,11 @@ if($sErrors === TRUE)
|
||||
if($oObject->iId && $aClean['sAction'] == "delete")
|
||||
$oObject->delete_entry();
|
||||
|
||||
/* Provided the necessary values are present, an object's children may be moved
|
||||
without any confirmation */
|
||||
if($oObject->iId && $aClean['sAction'] == "moveChildren" && $aClean['iNewId'])
|
||||
$oObject->move_children($aClean['iNewId']);
|
||||
|
||||
apidb_header($oObject->sTitle);
|
||||
|
||||
/* display a particular element */
|
||||
|
||||
Reference in New Issue
Block a user