Forgot to clean some debug logging

This commit is contained in:
Mikael Nordfeldth 2013-10-05 14:33:02 +02:00
parent c51086b302
commit e376905d93

View File

@ -927,13 +927,11 @@ class Notice extends Managed_DataObject
try {
$parent = $last->getParent();
if ($parent->inScope($profile)) {
common_debug(__METHOD__ . 'Parent of '.$last->id.' is '.$parent->id);
$last = $parent;
continue;
}
} catch (Exception $e) {
// Latest notice has no parent
common_debug(__METHOD__ . 'Found no parent for '.$last->id);
}
// No parent, or parent out of scope
$root = $last;