MINOR: delete debug info

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@76145 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Normann Lou 2009-05-06 01:07:03 +00:00
parent 5e8e47ef77
commit d9ea21c68e

View File

@ -87,8 +87,6 @@ class Money extends DBField implements CompositeDBField {
} }
function setValue($value,$record=null) { function setValue($value,$record=null) {
//var_dump($value);
//var_dump($record);
if($record && isset($record[$this->name . 'Currency']) && isset($record[$this->name . 'Amount'])) { if($record && isset($record[$this->name . 'Currency']) && isset($record[$this->name . 'Amount'])) {
if($record[$this->name . 'Currency'] && $record[$this->name . 'Amount']) { if($record[$this->name . 'Currency'] && $record[$this->name . 'Amount']) {
$this->setCurrency($record[$this->name . 'Currency']); $this->setCurrency($record[$this->name . 'Currency']);