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
1 changed files with 0 additions and 2 deletions

View File

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