amazon_ses.install in Amazon SES 6
Same filename and directory in other branches
The installation instructions for Amazon SES.
File
amazon_ses.installView source
<?php
// $Id$
/**
* @file
* The installation instructions for Amazon SES.
*/
/**
* Implementation of hook_install().
*/
function amazon_ses_install() {
variable_set('amazon_ses_on', 0);
}
/**
* Implementation of hook_uninstall().
*/
function amazon_ses_uninstall() {
variable_del('amazon_ses_on');
variable_del('amazon_ses_filter_format');
variable_del('amazon_ses_from');
variable_del('amazon_ses_test_address');
variable_del('amazon_ses_test_body');
variable_del('amazon_ses_debugging');
variable_del('smtp_library');
}
/**
* Implementation of hook_disable().
*/
function amazon_ses_disable() {
variable_set('mail_system', array(
'default-system' => 'DefaultMailSystem',
));
variable_set('amazon_ses_on', 0);
variable_del('smtp_library');
}
Functions
Name | Description |
---|---|
amazon_ses_disable | Implementation of hook_disable(). |
amazon_ses_install | Implementation of hook_install(). |
amazon_ses_uninstall | Implementation of hook_uninstall(). |