MINOR Fixed tabs

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@93859 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-11-27 06:21:11 +00:00 committed by Sam Minnee
parent 40f448f824
commit 38efb79e6f

View File

@ -2136,7 +2136,8 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
*
* @param string $field Name of the field
* @return string The field type of the given field
*/ public function hasOwnTableDatabaseField($field) {
*/
public function hasOwnTableDatabaseField($field) {
// Add base fields which are not defined in static $db
if($field == "ID") return "Int";
if($field == "ClassName" && get_parent_class($this) == "DataObject") return "Enum";