- LSformElement_maildir : Ajout de la méthode de suppression simple dans toDo()

This commit is contained in:
Benjamin Renard 2009-01-22 14:29:32 +00:00
parent 99a8de6715
commit 6b60147327

View file

@ -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'])) {