Skip to content
Permalink
Browse files

Revert "Using better way to check for active session"

This reverts commit 439a33c.
  • Loading branch information...
phpnut committed Dec 15, 2015
1 parent 975262b commit 464a266fc72d47a327fb9a115ddc24f950f70bbe
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Model/Datasource/CakeSession.php
@@ -218,7 +218,7 @@ public static function start() {
* @return bool True if session has been started.
*/
public static function started() {
return (session_status() === PHP_SESSION_ACTIVE);
return isset($_SESSION) && session_id();
}
/**

0 comments on commit 464a266

Please sign in to comment.
You can’t perform that action at this time.