summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gummi <martin.gummi@cacert.org>2015-01-08 05:22:50 +0100
committerMartin Gummi <martin.gummi@cacert.org>2015-01-08 05:22:50 +0100
commita07f592edd9213a3adeb0c3794953371de71955e (patch)
tree459ab3736dce8fc254bb539278f61b7336ba3b64
parent2bdd7bb9d76b13d88e7cac6a51b5f9cc71e07d34 (diff)
downloadcacert-devel-a07f592edd9213a3adeb0c3794953371de71955e.tar.gz
cacert-devel-a07f592edd9213a3adeb0c3794953371de71955e.tar.xz
cacert-devel-a07f592edd9213a3adeb0c3794953371de71955e.zip
bug 1355: remove comment tverify stuff
-rw-r--r--includes/account.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/includes/account.php b/includes/account.php
index 6dacf2d..ca2c636 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -2902,25 +2902,6 @@ function buildSubjectFromSession() {
}
}
- /* presently not needed
- if($id == 43 && array_key_exists('tverify',$_REQUEST) && $_REQUEST['tverify'] > 0 && $ticketvalidation==TRUE)
- {
- $memid = $_REQUEST['userid'] = intval($_REQUEST['tverify']);
- if (!write_se_log($memid, $_SESSION['profile']['id'],'SE Change tverify status',$ticketno)) {
- showheader(_("Something went wrong"));
- echo _("Writing to the admin log failed. Can't continue.");
- showfooter();
- exit;
- }
- $query = "select * from `users` where `id`='$memid'";
- $row = mysql_fetch_assoc(mysql_query($query));
- $ver = !$row['tverify'];
- mysql_query("update `users` set `tverify`='$ver' where `id`='$memid'");
- }elseif($id == 43 && array_key_exists('tverify',$_REQUEST) && $_REQUEST['tverify'] > 0 && $ticketvalidation==FALSE){
- $_SESSION['ticketmsg']='No action taken. Ticket number is missing!';
- }
- */
-
if($id == 43 && array_key_exists('assurer',$_REQUEST) && $_REQUEST['assurer'] > 0 && $ticketvalidation == TRUE)
{
csrf_check('admsetassuret');