]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Removing redundant logged in user check from pages annotation delete action (also...
authorJeff Tilson <jrtilson@gmail.com>
Tue, 9 Apr 2013 15:19:49 +0000 (11:19 -0400)
committerJeff Tilson <jrtilson@gmail.com>
Tue, 9 Apr 2013 15:19:49 +0000 (11:19 -0400)
actions/comments/delete.php
mod/pages/actions/annotations/page/delete.php

index f2c058ff4b77d5c135bb19f096b074a17f626dc7..c6b481da483dcdde728b1c721e60b75dfb959f5d 100644 (file)
@@ -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);
index 792b7c0bc79716162b045c787d297f1245819a0f..156b516d21c437e733ccdcdcc5e5f952fdf14b26 100644 (file)
@@ -5,11 +5,6 @@
  * @package ElggPages
  */
 
-// Ensure we're logged in
-if (!elgg_is_logged_in()) {
-       forward();
-}
-
 // Make sure we can get the annotations and entity in question
 $annotation_id = (int) get_input('annotation_id');
 $annotation = elgg_get_annotation_from_id($annotation_id);