From 582ffb658643905bab17a1269bbeffe94c4ad813 Mon Sep 17 00:00:00 2001 From: dave Date: Thu, 15 Jul 2010 09:18:03 +0000 Subject: [PATCH] Don't need to check users_id, user_auth_required does that now. --- user_main.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/user_main.php b/user_main.php index 8854d56..27fbbe3 100644 --- a/user_main.php +++ b/user_main.php @@ -26,11 +26,6 @@ require_once("common.inc.php"); require_once("user.inc.php"); - if(!array_key_exists('users_id', $_SESSION)) { - message_push(error("Login first")); - header("location: index.php"); - exit; - } user_auth_required();