forked from science-ation/science-ation
Don't need to check users_id, user_auth_required does that now.
This commit is contained in:
parent
ba2738b813
commit
582ffb6586
@ -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();
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user