diff --git a/index.php b/index.php index 344fd29f..828331fc 100644 --- a/index.php +++ b/index.php @@ -56,8 +56,7 @@ session_start( ) ); -/** Backwards compatibility */ -if (!isset($_SESSION['user']) || is_array($_SESSION['user'])) { +if (!isset($_SESSION['user'])) { $_SESSION['user'] = new User(); }