diff options
author | INOPIAE <inopiae@cacert.org> | 2012-12-13 07:31:10 +0100 |
---|---|---|
committer | INOPIAE <inopiae@cacert.org> | 2012-12-13 07:31:10 +0100 |
commit | 774b4d67682dd4793dad0b438791ca23f684c03c (patch) | |
tree | 6a32020007469e4c12941778f8ed20a5d1cb3c58 /www/wot.php | |
parent | 7baaa9a0ac611329539a43031ca3d0e81bba2b5f (diff) | |
download | cacert-devel-774b4d67682dd4793dad0b438791ca23f684c03c.tar.gz cacert-devel-774b4d67682dd4793dad0b438791ca23f684c03c.tar.xz cacert-devel-774b4d67682dd4793dad0b438791ca23f684c03c.zip |
bug 1121: introduced 4 new function into includes/notary.inc.php to process the cca recording, added the write_user_agreement to www/index.php and www/wot.php, added delete_user_agreement to the cron/removedead.php
Diffstat (limited to 'www/wot.php')
-rw-r--r-- | www/wot.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/www/wot.php b/www/wot.php index c6c0568..c09f910 100644 --- a/www/wot.php +++ b/www/wot.php @@ -297,6 +297,10 @@ $iecho= "c"; } mysql_query($query); fix_assurer_flag($_SESSION['_config']['notarise']['id']); + include_once("../includes/notary.inc.php"); + write_user_agreement($_SESSION['profile']['id'], "CCA", "assurance", "Assuring", 1, $_SESSION['_config']['notarise']['id']); +/* to be activates after the CCA recording is announced + write_user_agreement($_SESSION['_config']['notarise']['id'], "CCA", "assurance", "Being assured", 0, $_SESSION['profile']['id']); */ if($_SESSION['profile']['points'] < 150) { @@ -313,6 +317,7 @@ $iecho= "c"; `method`='Administrative Increase', `when`=NOW()"; mysql_query($query); + // No need to fix_assurer_flag here, this should only happen for assurers... $_SESSION['profile']['points'] += $addpoints; } |