diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index d0e8729a..bcce009f 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -745,9 +745,8 @@ class accountContainer { * * @param ConfiguredType $type account type * @param string $base key in $_SESSION where this object is saved - * @param integer $randomID random ID to avoid parallel editing (default: null) */ - function __construct($type, $base, $randomID = null) { + function __construct($type, $base) { if (!($type instanceof ConfiguredType)) { trigger_error('Argument of accountContainer must be ConfiguredType.', E_USER_ERROR); } @@ -760,7 +759,6 @@ class accountContainer { $this->current_page=0; $this->subpage='attributes'; $this->isNewAccount = false; - $this->randomID = $randomID; return 0; } @@ -824,8 +822,6 @@ class accountContainer { /** send password via mail to this alternate address */ private $sendPasswordViaMailAlternateAddress = null; - /** random ID number to avoid parallel editing of accounts in multiple browser tabs */ - private $randomID = null; /** * Returns the account module with the given class name @@ -865,10 +861,6 @@ class accountContainer { * It prints the HTML code of each account page. */ function continue_main() { - if (!empty($_POST['account_randomID']) && ($this->randomID != $_POST['account_randomID'])) { - metaRefresh("../lists/list.php?type=" . $this->type->getId() . '&accountEditInvalidID=true'); - exit(); - } $oldPage = $this->current_page; $oldSubpage = $this->subpage; $result = array(); @@ -1378,7 +1370,6 @@ class accountContainer { }); '; echo "