Skip to content
This repository
Browse code

Wrong deprecation notice in DBField::create()

  • Loading branch information...
commit 00a2edd9bce906fb02fb8e2324a9762300bcd1e6 1 parent 4e4e044
Juerg Rast authored August 04, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  model/fieldtypes/DBField.php
2  model/fieldtypes/DBField.php
@@ -65,7 +65,7 @@ function __construct($name = null) {
65 65
 	
66 66
 
67 67
 	static function create() {
68  
-		Deprecation::notice('3.0', 'DBField::create_field() is deprecated as it clashes with Object::create(). Use DBField::create_field() instead.');
  68
+		Deprecation::notice('3.0', 'DBField::create() is deprecated as it clashes with Object::create(). Use DBField::create_field() instead.');
69 69
 
70 70
 		return call_user_func_array(array('DBField', 'create_field'), func_get_args());
71 71
 	}

0 notes on commit 00a2edd

Please sign in to comment.
Something went wrong with that request. Please try again.