diff --git a/lam/docs/devel/upgrade.htm b/lam/docs/devel/upgrade.htm index aa14ad4a..215a1f78 100644 --- a/lam/docs/devel/upgrade.htm +++ b/lam/docs/devel/upgrade.htm @@ -19,6 +19,7 @@ + @@ -39,7 +40,17 @@ This is a list of API changes for all LAM releases.
-

4.2 -> 4.3

Ldap::new_rand() was replaced by getRandomNumber() in lib/account.inc.
+

4.5 -> 4.6

The valid account types for each module must now +be set in can_manage(). This function is abstract in base module. +Setting the account type via meta data is no longer supported.
+
+Example:
+
    public function can_manage() {
+
        return in_array($this->get_scope(), array('user', 'host'));
+
    }
+
+

4.2 -> 4.3

+Ldap::new_rand() was replaced by getRandomNumber() in lib/account.inc.
Module interface: