From 73b4909c5cc86977aab363db81649badbcf5695c Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 10 Apr 2013 11:29:32 +1200 Subject: [PATCH] Don't clear statics as public for 3.1 compatibility --- code/model/UserDefinedForm.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/model/UserDefinedForm.php b/code/model/UserDefinedForm.php index 2281ab9..4192fce 100755 --- a/code/model/UserDefinedForm.php +++ b/code/model/UserDefinedForm.php @@ -9,17 +9,17 @@ class UserDefinedForm extends Page { /** * @var string */ - public static $description = 'Adds a customizable form.'; + static $description = 'Adds a customizable form.'; /** * @var string Required Identifier */ - public static $required_identifier = null; + static $required_identifier = null; /** * @var array Fields on the user defined form page. */ - public static $db = array( + static $db = array( "SubmitButtonText" => "Varchar", "OnCompleteMessage" => "HTMLText", "ShowClearButton" => "Boolean", @@ -31,7 +31,7 @@ class UserDefinedForm extends Page { /** * @var array Default values of variables when this page is created */ - public static $defaults = array( + static $defaults = array( 'Content' => '$UserDefinedForm', 'DisableSaveSubmissions' => 0, 'OnCompleteMessage' => '

Thanks, we\'ve received your submission.

' @@ -40,7 +40,7 @@ class UserDefinedForm extends Page { /** * @var array */ - public static $has_many = array( + static $has_many = array( "Fields" => "EditableFormField", "Submissions" => "SubmittedForm", "EmailRecipients" => "UserDefinedForm_EmailRecipient"