X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fsession-functions.php;h=5421c1f013a55d2512f3c137b3675a4d17e51bb4;hb=33a76a20bc94ffe95e9f13906eb7dc5cf354948d;hp=cd6eabdc5a241c6cf3788624a3cf5f9b40754dff;hpb=155492a5b96cec674846973a8524238b0365a848;p=mailer.git diff --git a/inc/session-functions.php b/inc/session-functions.php index cd6eabdc5a..5421c1f013 100644 --- a/inc/session-functions.php +++ b/inc/session-functions.php @@ -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