More debugging in Salmon since we get situations which can't find inReplyToID
This commit is contained in:
parent
547f92de07
commit
922b65d231
@ -43,7 +43,9 @@ class UsersalmonAction extends SalmonAction
|
|||||||
if (!empty($this->activity->context->replyToID)) {
|
if (!empty($this->activity->context->replyToID)) {
|
||||||
try {
|
try {
|
||||||
$notice = Notice::getByUri($this->activity->context->replyToID);
|
$notice = Notice::getByUri($this->activity->context->replyToID);
|
||||||
|
common_debug('Referenced Notice object found with URI: '.$notice->getUri());
|
||||||
} catch (NoResultException $e) {
|
} catch (NoResultException $e) {
|
||||||
|
common_debug('Referenced Notice object NOT found with URI: '.$this->activity->context->replyToID);
|
||||||
$notice = false;
|
$notice = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user