summaryrefslogtreecommitdiffstats
path: root/web/html/logout.php
diff options
context:
space:
mode:
authoreric <eric>2004-06-23 02:28:13 +0200
committereric <eric>2004-06-23 02:28:13 +0200
commit84912ddb2e9e695980ac42c599ceda8362455790 (patch)
tree39bb7ff98de81556b9fe83e63acabc91ad94da58 /web/html/logout.php
parent64db123697c4ce34bd9ef0c3881771627465ae6b (diff)
downloadaur-84912ddb2e9e695980ac42c599ceda8362455790.tar.gz
aur-84912ddb2e9e695980ac42c599ceda8362455790.tar.xz
account adding/editing is working
Diffstat (limited to 'web/html/logout.php')
-rw-r--r--web/html/logout.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/html/logout.php b/web/html/logout.php
index 07a787a1..a81c6455 100644
--- a/web/html/logout.php
+++ b/web/html/logout.php
@@ -9,6 +9,8 @@ set_lang(); # this sets up the visitor's language
if (isset($_COOKIE["AURSID"])) {
$q = "DELETE FROM Sessions WHERE SessionID = '";
$q.= mysql_escape_string($_COOKIE["AURSID"]) . "'";
+ $dbh = db_connect();
+ db_query($q, $dbh);
setcookie("AURSID", "", time() - (60*60*24*30), "/");
}