Ignore:
Timestamp:
Mar 31, 2010, 6:32:40 PM (15 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace fóra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/includes/acp/acp_prune.php

    r400 r702  
    33*
    44* @package acp
    5 * @version $Id: acp_prune.php 8479 2008-03-29 00:22:48Z naderman $
     5* @version $Id$
    66* @copyright (c) 2005 phpBB Group
    77* @license http://opensource.org/licenses/gpl-license.php GNU Public License
     
    407407                        $where_sql .= ($count !== '') ? " AND user_posts " . $key_match[$count_select] . ' ' . (int) $count . ' ' : '';
    408408
    409                         if (sizeof($active) && $active_select != 'lt')
     409                        // First handle pruning of users who never logged in, last active date is 0000-00-00
     410                        if (sizeof($active) && (int) $active[0] == 0 && (int) $active[1] == 0 && (int) $active[2] == 0)
     411                        {
     412                                $where_sql .= ' AND user_lastvisit = 0';
     413                        }                       
     414                        else if (sizeof($active) && $active_select != 'lt')
    410415                        {
    411416                                $where_sql .= ' AND user_lastvisit ' . $key_match[$active_select] . ' ' . gmmktime(0, 0, 0, (int) $active[1], (int) $active[2], (int) $active[0]);
Note: See TracChangeset for help on using the changeset viewer.