summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Gummi <martin.gummi@cacert.org>2015-01-13 23:11:53 +0100
committerMartin Gummi <martin.gummi@cacert.org>2015-01-13 23:11:53 +0100
commit59850cf6c5682535ced19dafdbfb77e1809d1e6a (patch)
tree5d5177a34af75f578d4b5da66fe324c5b9ad32e7
parenta5027c6b0970bc68d24289fd6af2ca8f393cbb8d (diff)
downloadcacert-devel-59850cf6c5682535ced19dafdbfb77e1809d1e6a.tar.gz
cacert-devel-59850cf6c5682535ced19dafdbfb77e1809d1e6a.tar.xz
cacert-devel-59850cf6c5682535ced19dafdbfb77e1809d1e6a.zip
bug 1355: remove tverify stuff of account.php
-rw-r--r--www/account.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/www/account.php b/www/account.php
index c7f34a3..8dbf7a5 100644
--- a/www/account.php
+++ b/www/account.php
@@ -1,6 +1,6 @@
<? /*
LibreSSL - CAcert web application
- Copyright (C) 2004-2008 CAcert Inc.
+ Copyright (C) 2004-2015 CAcert Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -54,17 +54,6 @@
exit;
}
- } else if($id == 51 && $_GET['img'] == "show") {
- $query = "select * from `tverify` where `id`='".intval($_GET['photoid'])."' and `modified`=0";
- $res = mysql_query($query);
- if(mysql_num_rows($res))
- {
- $row = mysql_fetch_assoc($res);
- readfile($row['photoid']);
- } else {
- die("No such file.");
- }
- exit;
} else if ($id == 37) {
$protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
$newUrl = $protocol . '://wiki.cacert.org/FAQ/AboutUs';