aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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