projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e86bd
)
more logging on subscribe_to_hub
author
friendica
<info@friendica.com>
Thu, 7 Jun 2012 06:10:32 +0000
(23:10 -0700)
committer
friendica
<info@friendica.com>
Thu, 7 Jun 2012 06:10:32 +0000
(23:10 -0700)
include/items.php
patch
|
blob
|
history
diff --git
a/include/items.php
b/include/items.php
index 4513db1dbbfc35fd1358d3c67d0780461f6df4c4..66e219ddf2cb501ca3a3bb9068c1d0b388fc7540 100755
(executable)
--- a/
include/items.php
+++ b/
include/items.php
@@
-2777,6
+2777,8
@@
function lose_sharer($importer,$contact,$datarray,$item) {
function subscribe_to_hub($url,$importer,$contact,$hubmode = 'subscribe') {
+ $a = get_app();
+
if(is_array($importer)) {
$r = q("SELECT `nickname` FROM `user` WHERE `uid` = %d LIMIT 1",
intval($importer['uid'])
@@
-2807,7
+2809,10
@@
function subscribe_to_hub($url,$importer,$contact,$hubmode = 'subscribe') {
);
}
- post_url($url,$params);
+ post_url($url,$params);
+
+ logger('subscribe_to_hub: returns: ' . $a->get_curl_code(), LOGGER_DEBUG);
+
return;
}