From 8168a7db09f9b6022e9fe2987e7f8be4730d54b0 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 16 Nov 2012 14:36:06 +1300 Subject: [PATCH] Remove deprecated DBField::create(), use create_field() instead --- model/fieldtypes/DBField.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/model/fieldtypes/DBField.php b/model/fieldtypes/DBField.php index f6aba8e83..e535f69b2 100644 --- a/model/fieldtypes/DBField.php +++ b/model/fieldtypes/DBField.php @@ -64,14 +64,6 @@ abstract class DBField extends ViewableData { parent::__construct(); } - - public static function create() { - Deprecation::notice('3.0', 'DBField::create() is deprecated as it clashes with Object::create().' - . 'Use DBField::create_field() instead.'); - - return call_user_func_array(array('DBField', 'create_field'), func_get_args()); - } - /** * Create a DBField object that's not bound to any particular field. * Useful for accessing the classes behaviour for other parts of your code.