You are here

function mailhandler_enable in Mailhandler 7.2

Same name and namespace in other branches
  1. 6.2 mailhandler.install \mailhandler_enable()

Implements hook_enable().

File

./mailhandler.install, line 78
Install, update and uninstall functions for the Mailhandler module.

Code

function mailhandler_enable() {
  cache_clear_all('plugins:feeds:plugins', 'cache');
  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/structure/mailhandler/add'),
  )));
}