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

Diff of /contributions/modules/statistics_advanced/statistics_advanced.module

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

revision 1.1.2.22, Mon Mar 2 22:33:27 2009 UTC revision 1.1.2.23, Fri Mar 20 06:01:50 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: statistics_advanced.module,v 1.1.2.21 2009/01/14 02:29:35 davereid Exp $  // $Id: statistics_advanced.module,v 1.1.2.22 2009/03/02 22:33:27 davereid Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 219  function statistics_advanced_var($name, Line 219  function statistics_advanced_var($name,
219    
220    $name = 'statistics_advanced_'. $name;    $name = 'statistics_advanced_'. $name;
221    
   // @todo Remove when I stop making spelling errors in variable names.  
222    if (!isset($defaults[$name])) {    if (!isset($defaults[$name])) {
223      watchdog('statistics_adv', 'Default variable for %variable not found.', array('%variable' => $name), WATCHDOG_WARNING);      trigger_error(t('Default variable for %variable not found.', array('%variable' => $name)));
224    }    }
225    
226    return variable_get($name, isset($default) || !isset($defaults[$name]) ? $default : $defaults[$name]);    return variable_get($name, isset($default) || !isset($defaults[$name]) ? $default : $defaults[$name]);

Legend:
Removed from v.1.1.2.22  
changed lines
  Added in v.1.1.2.23

  ViewVC Help
Powered by ViewVC 1.1.2