/[drupal]/contributions/modules/user_stats/user_stats.module
ViewVC logotype

Diff of /contributions/modules/user_stats/user_stats.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2.2.16.2.19, Sat Feb 14 21:50:09 2009 UTC revision 1.2.2.16.2.20, Mon Feb 23 22:21:05 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: user_stats.module,v 1.2.2.16.2.18 2009/02/14 05:21:38 liammcdermott Exp $  // $Id: user_stats.module,v 1.2.2.16.2.19 2009/02/14 21:50:09 liammcdermott Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 90  function user_stats_get_stats($type, $ui Line 90  function user_stats_get_stats($type, $ui
90    
91    // IP address is really a bit of feature creep.    // IP address is really a bit of feature creep.
92    // At some point in the future, this could be split off into its own module.    // At some point in the future, this could be split off into its own module.
93    if ($type == 'ip_address' && user_access('View IP addresses')) {    if ($type == 'ip_address') {
94        if (!user_access('View IP addresses')) {
95          return FALSE;
96        }
97      // Check cache.      // Check cache.
98      if (user_stats_cache_get($type, $uid) === FALSE) {      if (user_stats_cache_get($type, $uid) === FALSE) {
99        $query = db_query("SELECT MAX(ip_address)        $query = db_query("SELECT MAX(ip_address)

Legend:
Removed from v.1.2.2.16.2.19  
changed lines
  Added in v.1.2.2.16.2.20

  ViewVC Help
Powered by ViewVC 1.1.2