Skip to:
Content

BuddyPress.org

Changes between Version 1 and Version 2 of Ticket #4347, comment 5


Ignore:
Timestamp:
07/11/2012 08:26:41 PM (13 years ago)
Author:
frank13
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4347, comment 5

    v1 v2  
    88`function ub_core_get_users_sql() {
    99        if ( 'online' == $type )
    10                 $sql['where_online'] = "AND DATE_ADD( um.meta_value, INTERVAL 15 MINUTE ) >= UTC_TIMESTAMP()";  // 2012-05-15 D.Kozar increased value to 15 minutes
     10                $sql['where_online'] = "AND DATE_ADD( um.meta_value, INTERVAL 15 MINUTE ) >= UTC_TIMESTAMP()";  // 2012-05-15 increased value to 15 minutes
    1111}
    1212add_filter( 'bp_core_get_paged_users_sql', 'ub_core_get_users_sql' );