Changeset 793


Ignore:
Timestamp:
Apr 26, 2017, 11:13:43 PM (5 years ago)
Author:
autocommit@…
Message:

buscamos el tipo de mail con el mail_id, si mailman pasamos de largo el ldap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/alternc/patches/class/m_mail_egw.php

    r792 r793  
    2626        function delete($mail_id) {
    2727                $status = TRUE;
    28                 if ($type != 'mailman') {
     28                $mailinfos = $this->get_details($mail_id);
     29                if ($mailinfos["type"] != 'mailman') {
    2930                        # check if egw worked
    3031                        $status = $this->_del_egw_account($mail_id);
    3132                }
    32                 return parent::delete($mail_id) && $status;
     33                return parent::delete($mail_id); # && $status;
    3334        }
    3435
Note: See TracChangeset for help on using the changeset viewer.