summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2013-08-24 15:59:31 +0200
committerMichael Tänzer <neo@nhng.de>2013-08-24 15:59:31 +0200
commitff8e88c54bcbfad0084834f82b798b8a3f35817d (patch)
tree996dda2318f6673a103d07d84400ff20fa3d2152 /www
parent69c7c9d069da887f238f51cd44ad1e07960f044e (diff)
downloadcacert-devel-ff8e88c54bcbfad0084834f82b798b8a3f35817d.tar.gz
cacert-devel-ff8e88c54bcbfad0084834f82b798b8a3f35817d.tar.xz
cacert-devel-ff8e88c54bcbfad0084834f82b798b8a3f35817d.zip
bug 1137: get rid of the board flag, which has already been removed in the release
branch but somehow this change got lost in this branch (during merge conflict resolution) Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'www')
-rw-r--r--www/wot.php11
1 files changed, 2 insertions, 9 deletions
diff --git a/www/wot.php b/www/wot.php
index 4574221..9b6bd27 100644
--- a/www/wot.php
+++ b/www/wot.php
@@ -373,15 +373,8 @@ $iecho= "c";
if (check_date_format(trim($_REQUEST['date']),2010)) {
write_user_agreement($_SESSION['profile']['id'], "CCA", "Assurance", "Assurer", 1, $_SESSION['_config']['notarise']['id']);
}
- if($_SESSION['profile']['board'] == 1 && intval($_POST['expire']) > 0)
- {
- $query .= ",\n`method`='Temporary Increase'";
- $query .= ",\n`expire`=DATE_ADD(NOW(), INTERVAL '".intval($_POST['expire'])."' DAY)";
- $query .= ",\n`sponsor`='".intval($_POST['sponsor'])."'";
- } else if($_SESSION['profile']['board'] == 1) {
- $query .= ",\n`method`='".mysql_escape_string(stripslashes($_POST['method']))."'";
- } else if($_SESSION['profile']['ttpadmin'] == 1 && ($_POST['method'] == 'Trusted 3rd Parties' || $_POST['method'] == 'Trusted Third Parties')) {
- $query .= ",\n`method`='Trusted Third Parties'";
+ if($_SESSION['profile']['ttpadmin'] == 1 && ($_POST['method'] == 'Trusted 3rd Parties' || $_POST['method'] == 'Trusted Third Parties')) {
+ $query .= ",\n`method`='TTP-Assisted'";
}
mysql_query($query);
fix_assurer_flag($_SESSION['_config']['notarise']['id']);