aboutsummaryrefslogtreecommitdiff
path: root/actions/entities/delete.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-24 15:57:49 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-24 15:57:49 +0000
commit6526a83f52eac96a4c522c041ae5c0bfb24795d8 (patch)
tree999fd86c2a6f37f619c59281790e7c278e65072a /actions/entities/delete.php
parent1531cecc00c86d2e784cb6b84d24088edf879dcd (diff)
downloadelgg-6526a83f52eac96a4c522c041ae5c0bfb24795d8.tar.gz
elgg-6526a83f52eac96a4c522c041ae5c0bfb24795d8.tar.bz2
Removing calls to engine/start.php in action files.
git-svn-id: http://code.elgg.org/elgg/trunk@3834 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'actions/entities/delete.php')
-rw-r--r--actions/entities/delete.php4
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']);