aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 17:30:24 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-24 17:30:24 +0000
commit3aba1993c0d0a6f9119bf0e4244f022fee88de8b (patch)
tree3d65218d7d68fab343c1751444fc4f37c83148d4
parent20633c181f17c8895bd212c265249e9c214e81c0 (diff)
downloadelgg-3aba1993c0d0a6f9119bf0e4244f022fee88de8b.tar.gz
elgg-3aba1993c0d0a6f9119bf0e4244f022fee88de8b.tar.bz2
Removing blog options from groups, part 1.
git-svn-id: http://code.elgg.org/elgg/trunk@6183 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/blog/start.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index 6ac8a5dc7..47e3127bf 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -49,8 +49,6 @@ function blog_init() {
// Register for search.
register_entity_type('object', 'blog');
- add_group_tool_option('blog', elgg_echo('blog:enableblog'), true);
-
//add_widget_type('blog', elgg_echo('blog'), elgg_echo('blog:widget:description'), 'profile, dashboard');
$action_path = dirname(__FILE__) . '/actions/blog';
@@ -184,21 +182,6 @@ function blog_url_handler($entity) {
}
/**
- * Add menu items for groups
- */
-function blog_page_setup() {
- global $CONFIG;
- $page_owner = page_owner_entity();
-
- if ($page_owner instanceof ElggGroup && get_context() == 'groups') {
- if($page_owner->blog_enable != "no") {
- $url = "{$CONFIG->wwwroot}pg/blog/{$page_owner->username}/items";
- //add_submenu_item(elgg_echo('blog:groups:group_blogs'), $url);
- }
- }
-}
-
-/**
* Register blogs with ECML.
*
* @param unknown_type $hook