mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
- LSformElement_maildir : Ajout de la méthode de suppression simple dans toDo()
This commit is contained in:
parent
99a8de6715
commit
6b60147327
1 changed files with 7 additions and 0 deletions
|
@ -148,6 +148,13 @@ class LSformElement_maildir extends LSformElement_text {
|
||||||
LSdebug($this -> name." - LSformElement_maildir->toDo() : Nom d'archivage incorrect.");
|
LSdebug($this -> name." - LSformElement_maildir->toDo() : Nom d'archivage incorrect.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
if (removeMaildirByFTP(null,$this -> _toDo['old'])) {
|
||||||
|
$GLOBALS['LSsession'] -> addInfo("La boîte mail a été supprimée.");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 'modify':
|
case 'modify':
|
||||||
if (renameMaildirByFTP($this -> _toDo['old'],$this -> _toDo['new'])) {
|
if (renameMaildirByFTP($this -> _toDo['old'],$this -> _toDo['new'])) {
|
||||||
|
|
Loading…
Reference in a new issue