diff options
Diffstat (limited to 'actions/entities/delete.php')
-rw-r--r-- | actions/entities/delete.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actions/entities/delete.php b/actions/entities/delete.php index 4f0e3b7ba..dab964ddd 100644 --- a/actions/entities/delete.php +++ b/actions/entities/delete.php @@ -8,8 +8,6 @@ * @link http://elgg.org/ */ -require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); - gatekeeper(); $guid = get_input('guid'); @@ -25,4 +23,4 @@ if (($entity) && ($entity->canEdit())) { register_error(sprintf(elgg_echo('entity:delete:fail'), $guid)); } -forward($_SERVER['HTTP_REFERER']);
\ No newline at end of file +forward($_SERVER['HTTP_REFERER']); |