Changeset 13528


Ignore:
Timestamp:
03/11/12 15:46:34 (8 years ago)
Author:
Eric
Message:

bug 2591 fixed : Exclusion of Adult_Content's generic users from users tracking list

File:
1 edited

Legend:

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

    r12661 r13528  
    23912391  $users = array(); 
    23922392 
    2393         // Search users depending expiration date 
    2394   // -------------------------------------- 
     2393        // Search users depending expiration date with exclusion of Adult_Content generic users 
     2394  // ------------------------------------------------------------------------------------ 
    23952395  $query = ' 
    23962396SELECT DISTINCT u.'.$conf['user_fields']['id'].' AS id, 
     
    24022402    ON u.'.$conf['user_fields']['id'].' = ug.user_id 
    24032403WHERE u.'.$conf['user_fields']['id'].' >= 3 
     2404  AND u.username NOT LIKE "16" 
     2405  AND u.username NOT LIKE "18" 
    24042406ORDER BY ug.lastvisit DESC 
    24052407;'; 
Note: See TracChangeset for help on using the changeset viewer.