Skip to content

Commit

Permalink
Remove deprecated DBField::create(), use create_field() instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Harvey committed Nov 16, 2012
1 parent b3d5b68 commit 8168a7d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions model/fieldtypes/DBField.php
Expand Up @@ -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.
Expand Down

0 comments on commit 8168a7d

Please sign in to comment.