Permalink
Browse files

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

  • Loading branch information...
1 parent b3d5b68 commit 8168a7db09f9b6022e9fe2987e7f8be4730d54b0 @halkyon halkyon committed Nov 16, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 model/fieldtypes/DBField.php
@@ -64,14 +64,6 @@ public function __construct($name = null) {
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.

0 comments on commit 8168a7d

Please sign in to comment.