You are here

function subscriptions_mail_modules_installed in Subscriptions 7

Same name and namespace in other branches
  1. 2.0.x subscriptions_mail/subscriptions_mail.module \subscriptions_mail_modules_installed()

Implements hook_modules_installed().

Extends the {mail_edit} table if Mail Editor is installed after Subscriptions.

Parameters

$modules:

File

./subscriptions_mail.module, line 206
Subscriptions module mail gateway.

Code

function subscriptions_mail_modules_installed($modules) {
  if (array_search('mail_edit', $modules) !== FALSE && array_search('subscriptions_mail', $modules) === FALSE) {
    module_load_install('subscriptions_mail');
    _subscriptions_mail_extend_mail_edit();
  }
}