From c67d1b6425a73100d7b37a8ff26b2dfd96ede7a0 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 16 Oct 2008 08:41:34 +0000 Subject: [PATCH] API CHANGE Removed FormField->setExtraClass(), use FormField->addExtraClass() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64379 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- forms/FormField.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/forms/FormField.php b/forms/FormField.php index 53d403a54..1c0cbb34f 100644 --- a/forms/FormField.php +++ b/forms/FormField.php @@ -537,17 +537,5 @@ HTML; else user_error("rootFieldSet() called on $this->class object without a containerFieldSet", E_USER_ERROR); } - // ################### - // DEPRECATED - // ################### - - /** - * @deprecated please use addExtraClass - */ - function setExtraClass($extraClass) { - user_error('FormField::setExtraClass() is deprecated. Use FormField::addExtraClass() instead.', E_USER_NOTICE); - $this->extraClasses[] = $extraClass; - } } - -?> +?> \ No newline at end of file