Some cleanups/improvements
[mailer.git] / inc / session-functions.php
index cd6eabdc5a241c6cf3788624a3cf5f9b40754dff..5421c1f013a55d2512f3c137b3675a4d17e51bb4 100644 (file)
@@ -150,14 +150,14 @@ function destroyAdminSession ($destroy = FALSE) {
 // Destroys session and resets some "caches"
 function destroySession () {
        // Unset "cache"
-       unset($GLOBALS['isSessionValid']);
+       unset($GLOBALS['isValidSession']);
 
        // Destroy session
        return session_destroy();
 }
 
 // Checks whether the session is valid
-function isSessionValid () {
+function isValidSession () {
        // Is there cache?
        if (!isset($GLOBALS[__FUNCTION__])) {
                // Then determine it