Ignore:
Timestamp:
Aug 9, 2012, 10:18:59 PM (12 years ago)
Author:
Eric
Message:

r17510 merged from trunk to branch 2.40

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/branches/2.40/include/functions.inc.php

    r14858 r17512  
    2525
    2626  return $menu;
     27}
     28
     29
     30/**
     31 * Triggered on loc_begin_admin_page
     32 *
     33 * Check options compatibility
     34 */
     35function UAM_check_compat()
     36{
     37  global $conf, $page;
     38 
     39  // Check mandatory email address for email exclusion
     40  $conf_UAM = unserialize($conf['UserAdvManager']);
     41  if (!$conf['obligatory_user_mail_address'] and $conf_UAM[10] = 'true')
     42  {
     43    array_push($page['warnings'], l10n('UAM_mail_exclusion_error'));
     44  }
    2745}
    2846
Note: See TracChangeset for help on using the changeset viewer.