fixed message loading

This commit is contained in:
Roland Gruber 2004-09-27 19:12:22 +00:00
parent eb8297385c
commit d4710f6141
1 changed files with 7 additions and 1 deletions

View File

@ -70,10 +70,17 @@ class baseModule {
*/
function baseModule($scope) {
$this->scope = $scope;
$this->load_Messages();
$this->meta = $this->get_metaData();
if (isset($_SESSION['config'])) $this->moduleSettings = $_SESSION['config']->get_moduleSettings();
}
/**
* This function fills the $messages variable with output messages from this module.
*/
function load_Messages() {
}
/**
* Initializes the module after it became part of an accountContainer
*
@ -90,7 +97,6 @@ class baseModule {
}
$objectClassName = substr($_SESSION['ldap']->objectClasses[$line], 6+strpos($_SESSION['ldap']->objectClasses[$line], "NAME '"), strlen(get_class($this)) );
$this->attributes['objectClass'][0] = $objectClassName;
$this->load_Messages();
}