diff options
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -320,7 +320,7 @@ function isLoggedIn() | |||
320 | } | 320 | } |
321 | 321 | ||
322 | // Force logout. | 322 | // Force logout. |
323 | function logout() { if (isset($_SESSION)) { unset($_SESSION['uid']); unset($_SESSION['ip']); unset($_SESSION['username']);} } | 323 | function logout() { if (isset($_SESSION)) { unset($_SESSION['uid']); unset($_SESSION['ip']); unset($_SESSION['username']); unset($_SESSION['privateonly']); } } |
324 | 324 | ||
325 | 325 | ||
326 | // ------------------------------------------------------------------------------------------ | 326 | // ------------------------------------------------------------------------------------------ |