aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_confirm.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r--mod/dfrn_confirm.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php
index 520543397..13353a364 100644
--- a/mod/dfrn_confirm.php
+++ b/mod/dfrn_confirm.php
@@ -49,6 +49,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
$dfrn_id = $handsfree['dfrn_id'];
$intro_id = $handsfree['intro_id'];
$duplex = $handsfree['duplex'];
+ logger('dfrn_confirm: Confirm in handsfree mode');
}
else {
$dfrn_id = ((x($_POST,'dfrn_id')) ? notags(trim($_POST['dfrn_id'])) : "");
@@ -57,7 +58,8 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
$cid = intval($_POST['contact_id']);
}
- logger('dfrn_confirm: Confirming request for dfrn_id ' . $dfrn_id);
+ logger('dfrn_confirm: Confirming request for dfrn_id (issued) ' . $dfrn_id);
+
// The other person will have been issued an ID when they first requested friendship.
// Locate their record. At this time, their record will have both pending and blocked set to 1.
@@ -355,7 +357,8 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
$aes_key = $_POST['aes_key'];
$duplex = $_POST['duplex'];
$version_id = (float) $_POST['dfrn_version'];
-
+
+ logger('dfrn_confirm: requestee contacted: ' . $node);
logger('dfrn_confirm: request: POST=' . print_r($_POST,true), LOGGER_DATA);
@@ -504,6 +507,8 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
// Otherwise everything seems to have worked and we are almost done. Yay!
// Send an email notification
+ logger('dfrn_confirm: request: info updated');
+
$r = q("SELECT * FROM `contact` LEFT JOIN `user` ON `contact`.`uid` = `user`.`uid`
WHERE `contact`.`id` = %d LIMIT 1",
intval($dfrn_record)