You are here

function support_init in Support Ticketing System 7

Same name and namespace in other branches
  1. 6 support.module \support_init()

Implementation of hook_init().

File

./support.module, line 420
support.module

Code

function support_init() {
  global $conf;
  if (module_exists('i18n')) {

    // Make all mail text variables translatable.
    foreach (_support_mail_text_default(NULL) as $key => $text) {
      $conf['i18n_variables'][] = 'support_mail_' . $key;
    }
  }
}