Browse files

cleanup some constants

  • Loading branch information...
1 parent 7002520 commit a8711771e0331c3483800bc366c43ca22ec40d93 @aaronjorbin aaronjorbin committed Jan 5, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 Sender.php
View
4 Sender.php
@@ -50,8 +50,6 @@ class Phetric_Sender
private $_data = array( );
- /* Becouse we need to set Bias to true */
- const FOX_NEWS = true;
/**
* Define, identify and register the sending of our metrics.
@@ -161,7 +159,7 @@ public static function meter( $name, $value = 1 )
* @param int $value The amount you want to increment or decrement. Defaults to 1
* @param bool $bias if true, Exponential decay histogram (favor more recent)
*/
- public static function histogram( $name, $value = 1, $bias = FOX_NEWS )
+ public static function histogram( $name, $value = 1, $bias = TRUE )
{
self::maybeCreatePhetric();
$type = ($bias) ? 'biased' : 'uniform' ;

0 comments on commit a871177

Please sign in to comment.