This commit is contained in:
Bachir Soussi Chiadmi 2015-05-05 19:06:01 +02:00
parent ca9530466a
commit 17580e8eba

View File

@ -658,10 +658,10 @@ function materio_user_get_role_by_name($name) {
* @param array $result * @param array $result
* Associative array containing the send result, including the status. * Associative array containing the send result, including the status.
*/ */
// function materio_user_mandrill_mailsend_result($result) { function materio_user_mandrill_mailsend_result($result) {
// if ( in_array($result['status'], array('rejected', 'invalid', 'error')) ) { if ( in_array($result['status'], array('rejected', 'invalid', 'error')) ) {
// // remove email from pool // remove email from pool
// simplenews_delete_spool(['mail'=>$result['email']]); simplenews_delete_spool(['mail'=>$result['email']]);
// if ( in_array($result['status'], array('invalid')) ) { // if ( in_array($result['status'], array('invalid')) ) {
// // unsubscribe user if mail does not exists // // unsubscribe user if mail does not exists
@ -674,5 +674,5 @@ function materio_user_get_role_by_name($name) {
// $user->status = 0; // $user->status = 0;
// user_save($user->uid); // user_save($user->uid);
// } // }
// } }
// } }