summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2014-10-28 11:29:19 +0100
committerBenny Baumann <BenBE@geshi.org>2014-10-28 21:43:18 +0100
commit20a5109644ca501f8a1e501af37416c8409a5ba8 (patch)
tree589d53070963077445922bfe550b0a936e2ce636
parente9c243beb7bcff2bd3ccf8c10d08b76aa6274228 (diff)
downloadcacert-devel-20a5109644ca501f8a1e501af37416c8409a5ba8.tar.gz
cacert-devel-20a5109644ca501f8a1e501af37416c8409a5ba8.tar.xz
cacert-devel-20a5109644ca501f8a1e501af37416c8409a5ba8.zip
bug 1316: replaced revoke assurance by new function revoke_assurance
-rw-r--r--pages/account/43.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/pages/account/43.php b/pages/account/43.php
index c889ce3..7ea782d 100644
--- a/pages/account/43.php
+++ b/pages/account/43.php
@@ -136,8 +136,7 @@ if(intval($_REQUEST['userid']) > 0) {
if ($res) {
$trow = mysql_fetch_assoc($res);
if ($trow) {
- mysql_query("update `notary` set `deleted`=NOW() where `id`='".intval($assurance)."'");
- fix_assurer_flag($trow['to']);
+ revoke_assurance(intval($assurance),$trow['to']);
}
}
}