aboutsummaryrefslogtreecommitdiff
path: root/actions/comments/add.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/comments/add.php')
-rw-r--r--actions/comments/add.php5
1 files changed, 0 insertions, 5 deletions
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);