aboutsummaryrefslogtreecommitdiff
path: root/actions/comments
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 01:23:02 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-24 01:23:02 +0000
commit38f3674095d16bfb73320eb2e0b566ad4484882d (patch)
treefdb6d200e5aed04ec6e7e77bfa2c76fcafd75639 /actions/comments
parent9c1e6d6463937bdee2d1de9735463a69f8af305d (diff)
downloadelgg-38f3674095d16bfb73320eb2e0b566ad4484882d.tar.gz
elgg-38f3674095d16bfb73320eb2e0b566ad4484882d.tar.bz2
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
Diffstat (limited to 'actions/comments')
-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);