mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +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.");
|
||||
return;
|
||||
}
|
||||
else {
|
||||
if (removeMaildirByFTP(null,$this -> _toDo['old'])) {
|
||||
$GLOBALS['LSsession'] -> addInfo("La boîte mail a été supprimée.");
|
||||
return true;
|
||||
}
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case 'modify':
|
||||
if (renameMaildirByFTP($this -> _toDo['old'],$this -> _toDo['new'])) {
|
||||
|
|
Loading…
Reference in a new issue