Removed debug code

This commit is contained in:
Ingo Schommer 2013-12-13 10:04:05 +01:00
parent 8d796cbea0
commit c811556ea5
2 changed files with 0 additions and 3 deletions

View File

@ -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));
}
}

View File

@ -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);