mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #695 from jrast/3.0
Wrong deprecation notice in DBField::create()
This commit is contained in:
commit
9a7b5df63c
@ -65,7 +65,7 @@ abstract class DBField extends ViewableData {
|
||||
|
||||
|
||||
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());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user