diff options
author | friendica <info@friendica.com> | 2012-05-29 22:57:15 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-05-29 22:57:15 -0700 |
commit | 88a0d6a1d53a93fa0d43591f85b72a8a72c13d53 (patch) | |
tree | 4347cab04767aafe7b5567d68539e666284fa3cc /mod/dfrn_confirm.php | |
parent | b6fe837a643c9c7bb63a5196d4d14c508f3fce55 (diff) | |
download | volse-hubzilla-88a0d6a1d53a93fa0d43591f85b72a8a72c13d53.tar.gz volse-hubzilla-88a0d6a1d53a93fa0d43591f85b72a8a72c13d53.tar.bz2 volse-hubzilla-88a0d6a1d53a93fa0d43591f85b72a8a72c13d53.zip |
private group tests, cont.
Diffstat (limited to 'mod/dfrn_confirm.php')
-rw-r--r-- | mod/dfrn_confirm.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index 564ae5ca2..76b99cbca 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -202,6 +202,8 @@ function dfrn_confirm_post(&$a,$handsfree = null) { if($user[0]['page-flags'] == PAGE_COMMUNITY) $params['page'] = 1; + if($user[0]['page-flags'] == PAGE_PRVGROUP) + $params['page'] = 2; logger('dfrn_confirm: Confirm: posting data to ' . $dfrn_confirm . ': ' . print_r($params,true), LOGGER_DATA); @@ -537,6 +539,9 @@ function dfrn_confirm_post(&$a,$handsfree = null) { $page = ((x($_POST,'page')) ? intval($_POST['page']) : 0 ); $version_id = ((x($_POST,'dfrn_version')) ? (float) $_POST['dfrn_version'] : 2.0); + $forum = (($page == 1) ? 1 : 0); + $prv = (($page == 2) ? 1 : 0); + logger('dfrn_confirm: requestee contacted: ' . $node); logger('dfrn_confirm: request: POST=' . print_r($_POST,true), LOGGER_DATA); @@ -691,6 +696,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { `pending` = 0, `duplex` = %d, `forum` = %d, + `prv` = %d, `network` = '%s' WHERE `id` = %d LIMIT 1 ", dbesc($photos[0]), @@ -701,7 +707,8 @@ function dfrn_confirm_post(&$a,$handsfree = null) { dbesc(datetime_convert()), dbesc(datetime_convert()), intval($duplex), - intval($page), + intval($forum), + intval($prv), dbesc(NETWORK_DFRN), intval($dfrn_record) ); |