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

r17510 merged from trunk to branch 2.30

File:
1 edited

Legend:

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

    r13823 r17511  
    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
     
    23992417    ON u.'.$conf['user_fields']['id'].' = ug.user_id
    24002418WHERE u.'.$conf['user_fields']['id'].' >= 3
     2419  AND u.username NOT LIKE "16"
     2420  AND u.username NOT LIKE "18"
    24012421ORDER BY ug.lastvisit DESC
    24022422;';
Note: See TracChangeset for help on using the changeset viewer.