From 38f3674095d16bfb73320eb2e0b566ad4484882d Mon Sep 17 00:00:00 2001 From: ewinslow Date: Wed, 24 Nov 2010 01:23:02 +0000 Subject: Refs #2451: Removed gatekeeper/admin_gatekeeper() calls from core actions git-svn-id: http://code.elgg.org/elgg/trunk@7433 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/comments/add.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'actions/comments') diff --git a/actions/comments/add.php b/actions/comments/add.php index 11418a2e2..fde0a6f55 100644 --- a/actions/comments/add.php +++ b/actions/comments/add.php @@ -6,14 +6,9 @@ * @subpackage Comments */ -// Make sure we're logged in; forward to the front page if not -gatekeeper(); - -// Get input $entity_guid = (int) get_input('entity_guid'); $comment_text = get_input('generic_comment'); -// make sure comment is not empty if (empty($comment_text)) { register_error(elgg_echo("generic_comment:blank")); forward(REFERER); -- cgit v1.2.3