aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/edit.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-10 13:02:04 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-01-10 13:02:04 +0000
commite378f5961943faf16995acda327b81a2d5a0bd05 (patch)
treed0f9284dc195e396313e28e3970840aae6ee2f8f /mod/groups/edit.php
parent01a482ddf2684612a989772a732c13e9bc9cc04c (diff)
downloadelgg-e378f5961943faf16995acda327b81a2d5a0bd05.tar.gz
elgg-e378f5961943faf16995acda327b81a2d5a0bd05.tar.bz2
moved most of the groups pages into its library
git-svn-id: http://code.elgg.org/elgg/trunk@7867 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/edit.php')
-rw-r--r--mod/groups/edit.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/mod/groups/edit.php b/mod/groups/edit.php
deleted file mode 100644
index 59064b7d8..000000000
--- a/mod/groups/edit.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
- /**
- * Elgg groups plugin
- *
- * @package ElggGroups
- */
-
- require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
- group_gatekeeper();
-
- $group_guid = get_input('group_guid');
- $group = get_entity($group_guid);
- set_page_owner($group_guid);
-
- $title = elgg_echo("groups:edit");
- $body = elgg_view_title($title);
-
- if (($group) && ($group->canEdit()))
- {
- $body .= elgg_view("forms/groups/edit", array('entity' => $group));
-
- } else {
- $body .= elgg_echo('groups:noaccess');
- }
-
- $body = elgg_view_layout('one_column_with_sidebar', array('content' => $body));
-
- echo elgg_view_page($title, $body);
-?> \ No newline at end of file