function phpmailer_uninstall in PHPMailer 6
Same name and namespace in other branches
- 8.3 phpmailer.install \phpmailer_uninstall()
- 5.2 phpmailer.install \phpmailer_uninstall()
- 6.3 phpmailer.install \phpmailer_uninstall()
- 6.2 phpmailer.install \phpmailer_uninstall()
- 7.4 phpmailer.install \phpmailer_uninstall()
- 7.3 phpmailer.install \phpmailer_uninstall()
Implementation of hook_uninstall().
File
- ./
phpmailer.install, line 11 - PHPMailer installation functions.
Code
function phpmailer_uninstall() {
if (strpos(variable_get('smtp_library', ''), 'phpmailer')) {
variable_del('smtp_library');
}
variable_del('smtp_on');
variable_del('smtp_host');
variable_del('smtp_hostbackup');
variable_del('smtp_port');
variable_del('smtp_protocol');
variable_del('smtp_fromname');
variable_del('smtp_username');
variable_del('smtp_password');
variable_del('smtp_keepalive');
variable_del('smtp_debug');
}