aboutsummaryrefslogtreecommitdiffstats
path: root/mod/like.php
diff options
context:
space:
mode:
authorZach Prezkuta <fermion@gmx.com>2012-06-12 19:05:01 -0600
committerZach Prezkuta <fermion@gmx.com>2012-06-25 19:03:03 -0600
commit5773241537b09aa411c48b4d67eefcebb1ea9c84 (patch)
tree17cf103913b2b45b713937d54365c05559704465 /mod/like.php
parentc0c50ece0fa625b9b1c6bd89045b8f16057d8eb2 (diff)
downloadvolse-hubzilla-5773241537b09aa411c48b4d67eefcebb1ea9c84.tar.gz
volse-hubzilla-5773241537b09aa411c48b4d67eefcebb1ea9c84.tar.bz2
volse-hubzilla-5773241537b09aa411c48b4d67eefcebb1ea9c84.zip
add some debug logging
Diffstat (limited to 'mod/like.php')
-rwxr-xr-xmod/like.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/mod/like.php b/mod/like.php
index 29a77aa13..3c6dfa59b 100755
--- a/mod/like.php
+++ b/mod/like.php
@@ -235,8 +235,10 @@ function store_diaspora_like_retract_sig($activity, $item, $like_item, $contact)
// likes on photos, so don't bother.
$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;
+ }
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
$enabled = intval(get_config('system','diaspora_enabled'));
- if(! $enabled)
+ if(! $enabled) {
+ logger('mod_like: diaspora support disabled, not storing like signature', LOGGER_DEBUG);
return;
+ }
logger('mod_like: storing diaspora like signature');