Changed all admin getter, closed internal TODOs:
[mailer.git] / inc / session-functions.php
index 735f634194ce190711377aab719df80ceab4a7a5..4928f80f083a274e62e16d6d8c080b8570d7e105 100644 (file)
@@ -119,9 +119,9 @@ function destroyMemberSession () {
 // Destroys the admin session
 function destroyAdminSession ($destroy = true) {
        // Kill maybe existing session variables including array elements
-       setSession('admin_login', '');
-       setSession('admin_md5'  , '');
-       setSession('admin_last' , '');
+       setSession('admin_id'  , '');
+       setSession('admin_md5' , '');
+       setSession('admin_last', '');
 
        // Destroy session and return status
        if ($destroy) {