From 0d0ad0e5722020af9331fe5b539ef3d61d09792a Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Sat, 29 Oct 2011 12:11:27 +1300 Subject: [PATCH] MINOR: Undeprecated Currency because the Money class is overkill in many situations where you're dealing with a single-currency system. --- model/fieldtypes/Currency.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/model/fieldtypes/Currency.php b/model/fieldtypes/Currency.php index 736b14bde..61c2b5f79 100644 --- a/model/fieldtypes/Currency.php +++ b/model/fieldtypes/Currency.php @@ -1,7 +1,8 @@ @@ -11,8 +12,6 @@ * ); * * - * @deprecated 2.5 Use Money class - * * @package sapphire * @subpackage model */ @@ -20,7 +19,6 @@ class Currency extends Decimal { protected static $currencySymbol = '$'; function __construct($name, $wholeSize = 9, $decimalSize = 2, $defaultValue = 0) { - Deprecation::notice('2.5', 'Use Money class instead.'); parent::__construct($name, $wholeSize, $decimalSize, $defaultValue); }