aboutsummaryrefslogtreecommitdiff
path: root/actions/comments/delete.php
diff options
context:
space:
mode:
authorJeff Tilson <jrtilson@gmail.com>2013-04-09 11:19:49 -0400
committerJeff Tilson <jrtilson@gmail.com>2013-04-09 11:19:49 -0400
commit7b002adf2fd383e6a0e7e4b93890720d99750282 (patch)
treed52ea7d5fdd9bb2a14940b49409597297d5387bc /actions/comments/delete.php
parent5103c706857719615102eda7cfd823b0723a1476 (diff)
downloadelgg-7b002adf2fd383e6a0e7e4b93890720d99750282.tar.gz
elgg-7b002adf2fd383e6a0e7e4b93890720d99750282.tar.bz2
Removing redundant logged in user check from pages annotation delete action (also from the comments delete core action)
Diffstat (limited to 'actions/comments/delete.php')
-rw-r--r--actions/comments/delete.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/actions/comments/delete.php b/actions/comments/delete.php
index f2c058ff4..c6b481da4 100644
--- a/actions/comments/delete.php
+++ b/actions/comments/delete.php
@@ -5,11 +5,6 @@
* @package Elgg
*/
-// Ensure we're logged in
-if (!elgg_is_logged_in()) {
- forward();
-}
-
// Make sure we can get the comment in question
$annotation_id = (int) get_input('annotation_id');
$comment = elgg_get_annotation_from_id($annotation_id);