gui refactoring, using the zend mail library 1.2.x

Change-Id: Ie019ae0c241263e3acfeb09ea6779d90487fde8e
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ
2016-09-17 15:30:47 +02:00
parent 91fbeebc0f
commit ee2f507074
6 changed files with 101 additions and 447 deletions

View File

@ -14,8 +14,6 @@ class ModelMessageRestore extends Model {
if($zip->open($zipname, ZIPARCHIVE::CREATE) != true) { exit("cannot open <$zipname>\n"); }
$this->model_search_message->connect_to_pilergetd();
foreach($idlist as $id) {
$i++;
@ -35,8 +33,6 @@ class ModelMessageRestore extends Model {
AUDIT(ACTION_DOWNLOAD_MESSAGE, '', '', $id, '');
}
$this->model_search_message->disconnect_from_pilergetd();
$zip->close();