bug 1137: adjusted write_user_agreement to needs
authorINOPIAE <inopiae@cacert.org>
Sun, 13 Jan 2013 00:18:55 +0000 (01:18 +0100)
committerINOPIAE <inopiae@cacert.org>
Sun, 13 Jan 2013 00:18:55 +0000 (01:18 +0100)
www/wot.php

index d2aff2e..40e8a71 100644 (file)
@@ -295,8 +295,6 @@ $iecho= "c";
                                                `when`=NOW()";
                //record active acceptance by Assurer
                write_user_agreement($_SESSION['profile']['id'], "CCA", "Assurance", "Assurer", 1, $_SESSION['_config']['notarise']['id']);
-               //record passive acceptance by Assuree
-               write_user_agreement($_SESSION['_config']['notarise']['id'], "CCA", "Assurance", "Assuree", 0, $_SESSION['profile']['id']);
                if($_SESSION['profile']['board'] == 1 && intval($_POST['expire']) > 0)
                {
                        $query .= ",\n`method`='Temporary Increase'";