Skip to content

Commit

Permalink
Merge pull request #39 from backdrop-contrib/issue-38
Browse files Browse the repository at this point in the history
Issue #38: convert variable_get
  • Loading branch information
argiepiano authored Nov 2, 2024
2 parents 481f247 + a55e501 commit 4ca3185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/smtp.phpmailer.inc
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ class PHPMailer {
* @param boolean $exceptions Should we throw external exceptions?
*/
public function __construct($exceptions = FALSE) {
$this->logging = variable_get('smtp_debugging', SMTP_LOGGING_ERRORS);
$this->logging = config_get('smtp.settings', 'smtp_debugging');
$this->exceptions = ($exceptions == TRUE);
}

Expand Down

0 comments on commit 4ca3185

Please sign in to comment.