add some debug logging
This commit is contained in:
parent
c0c50ece0f
commit
5773241537
3 changed files with 8 additions and 2 deletions
|
@ -3461,6 +3461,7 @@ function store_diaspora_retract_sig($item, $user, $baseurl) {
|
||||||
|
|
||||||
$enabled = intval(get_config('system','diaspora_enabled'));
|
$enabled = intval(get_config('system','diaspora_enabled'));
|
||||||
if(! $enabled) {
|
if(! $enabled) {
|
||||||
|
logger('drop_item: diaspora support disabled, not storing retraction signature', LOGGER_DEBUG);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1035,6 +1035,7 @@ function store_diaspora_comment_sig($datarray, $user, $baseurl, $parent_item, $p
|
||||||
|
|
||||||
$enabled = intval(get_config('system','diaspora_enabled'));
|
$enabled = intval(get_config('system','diaspora_enabled'));
|
||||||
if(! $enabled) {
|
if(! $enabled) {
|
||||||
|
logger('mod_item: diaspora support disabled, not storing comment signature', LOGGER_DEBUG);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -235,8 +235,10 @@ function store_diaspora_like_retract_sig($activity, $item, $like_item, $contact)
|
||||||
// likes on photos, so don't bother.
|
// likes on photos, so don't bother.
|
||||||
|
|
||||||
$enabled = intval(get_config('system','diaspora_enabled'));
|
$enabled = intval(get_config('system','diaspora_enabled'));
|
||||||
if(! $enabled)
|
if(! $enabled) {
|
||||||
|
logger('mod_like: diaspora support disabled, not storing like retraction signature', LOGGER_DEBUG);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
logger('mod_like: storing diaspora like retraction signature');
|
logger('mod_like: storing diaspora like retraction signature');
|
||||||
|
|
||||||
|
@ -288,8 +290,10 @@ function store_diaspora_like_sig($activity, $post_type, $contact, $post_id) {
|
||||||
// only checks the parent_author_signature if it doesn't have to relay further
|
// only checks the parent_author_signature if it doesn't have to relay further
|
||||||
|
|
||||||
$enabled = intval(get_config('system','diaspora_enabled'));
|
$enabled = intval(get_config('system','diaspora_enabled'));
|
||||||
if(! $enabled)
|
if(! $enabled) {
|
||||||
|
logger('mod_like: diaspora support disabled, not storing like signature', LOGGER_DEBUG);
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
logger('mod_like: storing diaspora like signature');
|
logger('mod_like: storing diaspora like signature');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue