Merged revisions 46832 via svnmerge from

svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1

........
  r46832 | sminnee | 2007-12-14 11:59:07 +1300 (Fri, 14 Dec 2007) | 1 line
  
  Added augmentDefaultRecords() function, so that DataObjectDecorators can extend requireDefaultRecords.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47284 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-12-18 21:24:23 +00:00
parent 8ece5302f7
commit 32fa73d39f

View File

@ -1703,6 +1703,9 @@ class DataObject extends Controller implements DataObjectInterface {
}
}
}
// Let any extentions make their own database default data
$this->extend('augmentDefaultRecords', $dummy);
}
/**