mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
ENHANCEMENT Removed DataObjectDecorator->updateSummaryFieldsExcludeExtra() - was a straight copy of updateSummaryFields()...
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65056 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c9da559151
commit
fd7bc64107
@ -151,13 +151,6 @@ abstract class DataObjectDecorator extends Extension {
|
||||
}
|
||||
}
|
||||
|
||||
function updateSummaryFieldsExcludeExtra(&$fields){
|
||||
$extra_fields = $this->extraDBFields();
|
||||
if(isset($extra_fields['summary_fields'])){
|
||||
$summary_fields = $extra_fields['summary_fields'];
|
||||
if($summary_fields)$fields = array_merge($fields, $summary_fields);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user