summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-07-24 08:00:07 +0200
committerINOPIAE <inopiae@cacert.org>2013-07-24 08:00:07 +0200
commit05db193912845057c2355b42583ecb1d4385758c (patch)
treeff2a7fa2206564f6ea32da70caf81a17a4edbd99 /includes
parenta82f507306a9eba8a9f5dff82d2091dbd29edf71 (diff)
downloadcacert-devel-05db193912845057c2355b42583ecb1d4385758c.tar.gz
cacert-devel-05db193912845057c2355b42583ecb1d4385758c.tar.xz
cacert-devel-05db193912845057c2355b42583ecb1d4385758c.zip
bug 1195: Removed the change ability for pages/account/6.php, small typo fix for HTML in pages/account/5.php
Diffstat (limited to 'includes')
-rw-r--r--includes/account.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/includes/account.php b/includes/account.php
index 1a381b8..805430c 100644
--- a/includes/account.php
+++ b/includes/account.php
@@ -1199,24 +1199,6 @@
exit;
}
-
- if($oldid == 6 && $_REQUEST['certid'] != "")
- {
- if(trim($_REQUEST['description']) != ""){
- $description= trim(mysql_real_escape_string(stripslashes($_REQUEST['description'])));
- }else{
- $description= "";
- }
-
- if(trim($_REQUEST['disablelogin']) == "1"){
- $disablelogin = 1;
- }else{
- $disablelogin = 0;
- }
-
- mysql_query("update `emailcerts` set `disablelogin`='$disablelogin', `description`='$description' where `id`='".$_REQUEST['certid']."' and `memid`='".$_SESSION['profile']['id']."'");
-
- }
if($oldid == 13 && $process != "")
{
csrf_check("perschange");