function mailhandler_enable in Mailhandler 6.2
Same name and namespace in other branches
- 7.2 mailhandler.install \mailhandler_enable()
Implementation of hook_enable().
Clear Feeds' cache on Mailhandler enable - without this, Feeds may complain about missing plugins
File
- ./
mailhandler.install, line 27 - Install, update and uninstall functions for the Mailhandler module.
Code
function mailhandler_enable() {
autoload_flush_caches();
drupal_set_message(t("Now that you've enabled Mailhandler, you need to <a href='@mailbox-add'>add a mailbox</a> corresponding to an IMAP/POP3/mbox mailbox.", array(
'@mailbox-add' => url('admin/build/mailhandler/add'),
)));
}