mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 13:19:11 +02:00
Remove deprecated DBField::create(), use create_field() instead
This commit is contained in:
parent
b3d5b68019
commit
8168a7db09
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user