Changeset 13528


Ignore:
Timestamp:
Mar 11, 2012, 3:46:34 PM (12 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.