Remove deprecated DBField::create(), use create_field() instead

This commit is contained in:
Sean Harvey 2012-11-16 14:36:06 +13:00
parent b3d5b68019
commit 8168a7db09

View File

@ -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.