From 1122e42d35b6edda75cf2d32fde945a65e05ea03 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 20 May 2009 05:07:06 +0000 Subject: [PATCH] API CHANGE Removed @deprecated 2.3 method Form::loadNonBlankDataFrom(): Please use Form::loadDataFrom() instead git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77354 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/Form.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/forms/Form.php b/forms/Form.php index 5d0b02230..a953e7e09 100644 --- a/forms/Form.php +++ b/forms/Form.php @@ -51,7 +51,7 @@ class Form extends RequestHandler { protected static $current_action; /** - * @var Dataobject $record Populated by {@link loadDataFrom()} or {@link loadNonBlankDataFrom()}. + * @var Dataobject $record Populated by {@link loadDataFrom()}. */ protected $record; @@ -792,7 +792,7 @@ class Form extends RequestHandler { /** * Returns the DataObject that has given this form its data - * through {@link loadDataFrom()} or {@link loadNonBlankDataFrom()}. + * through {@link loadDataFrom()}. * * @return DataObject */ @@ -921,13 +921,6 @@ class Form extends RequestHandler { } } } - - /** - * @deprecated 2.3 Use loadDataFrom() - */ - function loadNonBlankDataFrom($data) { - return $this->loadDataFrom($data); - } /** * Save the contents of this form into the given data object.