silverstripe/sapphire — pull request #486 by halkyon (2012-05-23 10:49:38+00:00)
Title: Deprecate dropdownfield $emptyString arg properly

The `$emptyString` argument to `DropdownField` has been deprecated since 2.3, but hasn't been properly reported for people upgrading. `setEmptyString()` is the proper way to do this.

If you pass in the argument, a deprecation notice is now issued.

All core code has been updated to use `setEmptyString()` on DropdownField instances instead.