diff --git a/model/DataObject.php b/model/DataObject.php index 16aabb75d..0f3825755 100644 --- a/model/DataObject.php +++ b/model/DataObject.php @@ -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)); } } diff --git a/tests/model/HierarchyTest.php b/tests/model/HierarchyTest.php index ca7e762bb..deb75dd96 100644 --- a/tests/model/HierarchyTest.php +++ b/tests/model/HierarchyTest.php @@ -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);