Skip to content

Commit

Permalink
Merge pull request #17137 from seamuslee001/dev_core_1717
Browse files Browse the repository at this point in the history
dev/core#1717 - Fix SMTP failure involving `disconnect()` method
  • Loading branch information
seamuslee001 authored Apr 22, 2020
2 parents 222f141 + 21832ae commit eb0c07b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CRM/Utils/Mail/FilteredPearMailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,11 @@ public function __unset($name) {
unset($this->_delegate->{$name});
}

public function disconnect() {
if (is_callable([$this->_delegate, 'disconnect'])) {
return $this->_delegate->disconnect();
}
return TRUE;
}

}

0 comments on commit eb0c07b

Please sign in to comment.