mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
do not remove user when transfering objects
This commit is contained in:
parent
59d56ea498
commit
06efeae431
|
@ -245,9 +245,6 @@ else if ($action == "transferobjects") {
|
|||
}
|
||||
|
||||
$userToAssign = $dms->getUser($_POST["assignTo"]);
|
||||
if (!$userToRemove->remove($user, $userToAssign)) {
|
||||
UI::exitError(getMLText("admin_tools"),getMLText("error_occured"));
|
||||
}
|
||||
|
||||
// if(isset($_POST["status"]) && is_array($_POST["status"]) && $_POST["status"]) {
|
||||
if (!$userToRemove->transferDocumentsFolders($userToAssign)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user