Forgot to clean some debug logging
This commit is contained in:
parent
c51086b302
commit
e376905d93
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user