mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-19 08:39:06 +01:00
Fix parent constructor calls
This commit is contained in:
parent
a577417b69
commit
a338e0dfa0
7 changed files with 8 additions and 8 deletions
|
@ -35,7 +35,7 @@ class LSattr_html_maildir extends LSattr_html {
|
|||
public function __construct($name, $config, &$attribute) {
|
||||
$attribute -> addObjectEvent('before_delete',$this,'beforeDelete');
|
||||
$attribute -> addObjectEvent('after_delete',$this,'deleteMaildirByFTP');
|
||||
return parent :: LSattr_html($name, $config, $attribute);
|
||||
return parent :: __construct($name, $config, $attribute);
|
||||
}
|
||||
|
||||
public function doOnModify($action,$cur,$new) {
|
||||
|
|
|
@ -30,7 +30,7 @@ class LSauthMethod_CAS extends LSauthMethod {
|
|||
public function __construct() {
|
||||
LSauth :: disableLoginForm();
|
||||
|
||||
if (!parent :: LSauthMethod())
|
||||
if (!parent :: __construct())
|
||||
return;
|
||||
|
||||
if (LSsession :: includeFile(PHP_CAS_PATH)) {
|
||||
|
|
|
@ -29,10 +29,10 @@ LSsession :: loadLSclass('LSauthMethod_basic');
|
|||
*/
|
||||
class LSauthMethod_HTTP extends LSauthMethod_basic {
|
||||
|
||||
public function LSauthMethod_HTTP() {
|
||||
public function __construct() {
|
||||
LSauth :: disableLoginForm();
|
||||
LSauth :: disableLogoutBtn();
|
||||
return parent :: LSauthMethod_basic();
|
||||
return parent :: __construct();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -31,7 +31,7 @@ class LSauthMethod_anonymous extends LSauthMethod {
|
|||
LSauth :: disableLoginForm();
|
||||
LSauth :: disableSelfAccess();
|
||||
|
||||
if (!parent :: LSauthMethod())
|
||||
if (!parent :: __construct())
|
||||
return;
|
||||
|
||||
if ( (!defined('LSAUTHMETHOD_ANONYMOUS_DISABLE_LOGOUT')) || (constant('LSAUTHMETHOD_ANONYMOUS_DISABLE_LOGOUT') === True)) {
|
||||
|
|
|
@ -36,7 +36,7 @@ class LSformElement_jsonCompositeAttribute extends LSformElement {
|
|||
var $fieldTemplate = 'LSformElement_jsonCompositeAttribute_field.tpl';
|
||||
|
||||
public function __construct(&$form, $name, $label, $params, &$attr_html){
|
||||
parent :: LSformElement($form, $name, $label, $params,$attr_html);
|
||||
parent :: __construct($form, $name, $label, $params,$attr_html);
|
||||
$this -> components = $this -> getParam('html_options.components', array());
|
||||
}
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ class LSformElement_supannEtuInscription extends LSformElement_supannCompositeAt
|
|||
'required' => false
|
||||
)
|
||||
);
|
||||
return parent::LSformElement ($form, $name, $label, $params,$attr_html);
|
||||
return parent :: __construct($form, $name, $label, $params, $attr_html);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ class LSformElement_supannRoleEntite extends LSformElement_supannCompositeAttrib
|
|||
'required' => false
|
||||
)
|
||||
);
|
||||
return parent::LSformElement ($form, $name, $label, $params,$attr_html);
|
||||
return parent :: __construct($form, $name, $label, $params, $attr_html);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue