summaryrefslogtreecommitdiffstats
path: root/web/html/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/logout.php')
-rw-r--r--web/html/logout.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/web/html/logout.php b/web/html/logout.php
index 3958c251..5e8e8f43 100644
--- a/web/html/logout.php
+++ b/web/html/logout.php
@@ -10,7 +10,6 @@ include_once("acctfuncs.inc.php"); # access AUR common functions
# sending any HTML output.
#
if (isset($_COOKIE["AURSID"])) {
- $dbh = DB::connect();
delete_session_id($_COOKIE["AURSID"]);
# setting expiration to 1 means '1 second after midnight January 1, 1970'
setcookie("AURSID", "", 1, "/", null, !empty($_SERVER['HTTPS']), true);