summaryrefslogtreecommitdiff
path: root/www/gpg.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/gpg.php')
-rw-r--r--www/gpg.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/www/gpg.php b/www/gpg.php
index d0ba432..267fabd 100644
--- a/www/gpg.php
+++ b/www/gpg.php
@@ -286,13 +286,6 @@ function verifyEmail($email)
{
write_user_agreement(intval($_SESSION['profile']['id']), "CCA", "certificate creation", "", 1);
- //set variable for comment
- if(trim($_REQUEST['description']) == ""){
- $description= "";
- }else{
- $description= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
- }
-
$query = "insert into `gpg` set `memid`='".intval($_SESSION['profile']['id'])."',
`email`='".mysql_real_escape_string($lastvalidemail)."',
`level`='1',