mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Wrong deprecation notice in DBField::create()
This commit is contained in:
parent
4e4e044c1c
commit
00a2edd9bc
@ -65,7 +65,7 @@ abstract class DBField extends ViewableData {
|
|||||||
|
|
||||||
|
|
||||||
static function create() {
|
static function create() {
|
||||||
Deprecation::notice('3.0', 'DBField::create_field() is deprecated as it clashes with Object::create(). Use DBField::create_field() instead.');
|
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());
|
return call_user_func_array(array('DBField', 'create_field'), func_get_args());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user