diff options
Diffstat (limited to 'mod/guidtool/actions/delete.php')
-rw-r--r-- | mod/guidtool/actions/delete.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/mod/guidtool/actions/delete.php b/mod/guidtool/actions/delete.php deleted file mode 100644 index 36126ee10..000000000 --- a/mod/guidtool/actions/delete.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php
- global $CONFIG;
-
- admin_gatekeeper();
- action_gatekeeper();
-
- $guid = (int)get_input('guid');
- $entity = get_entity($guid);
-
- if ($entity)
- {
- if ($entity->delete())
- system_message(sprintf(elgg_echo('guidtool:deleted'), $guid));
- else
- register_error(sprintf(elgg_echo('guidtool:notdeleted'), $guid));
- }
- else
- register_error(sprintf(elgg_echo('guidtool:notdeleted'), $guid));
-
- forward($_SERVER['HTTP_REFERER']);
-?>
\ No newline at end of file |