mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
8ece5302f7
commit
32fa73d39f
@ -1703,6 +1703,9 @@ class DataObject extends Controller implements DataObjectInterface {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Let any extentions make their own database default data
|
||||
$this->extend('augmentDefaultRecords', $dummy);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user