mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Removed debug code
This commit is contained in:
parent
8d796cbea0
commit
c811556ea5
@ -3273,7 +3273,6 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
}
|
||||
foreach($types as $type => $attrs) {
|
||||
foreach($attrs as $name => $spec) {
|
||||
// var_dump("{$ancestorClass}.{$type}_{$name}");
|
||||
$autoLabels[$name] = _t("{$ancestorClass}.{$type}_{$name}",FormField::name_to_label($name));
|
||||
}
|
||||
}
|
||||
|
@ -289,8 +289,6 @@ class HierarchyTest extends SapphireTest {
|
||||
$root->setMarkingFilterFunction(function($record) use($obj2, $obj2a, $obj2aa) {
|
||||
// Results need to include parent hierarchy, even if we just want to
|
||||
// match the innermost node.
|
||||
// var_dump($record->Title);
|
||||
// var_dump(in_array($record->ID, array($obj2->ID, $obj2a->ID, $obj2aa->ID)));
|
||||
return in_array($record->ID, array($obj2->ID, $obj2a->ID, $obj2aa->ID));
|
||||
});
|
||||
$root->markPartialTree($nodeCountThreshold);
|
||||
|
Loading…
Reference in New Issue
Block a user