You are here

function support_init in Support Ticketing System 6

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

Implementation of hook_init().

File

./support.module, line 349
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;
    }
  }
}