Permalink
Browse files

disable user-menu link to Group Blogs tool -- keep it all inside the …

…group, instead. (this works around the bug where a user can click on 'New group blog' while viewing group blogs that he's a member of, which doesn't work and instead redirects to the dashboard)

git-svn-id: http://svn.ccnmtl.columbia.edu/elggmdp/plugins/groupblog/trunk@18853 1f418930-7ff8-0310-b8ad-c653122473bc
  • Loading branch information...
1 parent b6b099b commit c383d00c824a3ade215a5014c10382fa3a099164 ejucovy committed Apr 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 start.php
View
@@ -22,11 +22,11 @@ function groupblog_init() {
// Set up menu for logged in users
if (isloggedin()) {
- add_menu(elgg_echo('groupblogs'), $CONFIG->wwwroot . "pg/groupblog/owned/" . $_SESSION['user']->username);
+ //add_menu(elgg_echo('groupblogs'), $CONFIG->wwwroot . "pg/groupblog/owned/" . $_SESSION['user']->username);
// And for logged out users
} else {
- add_menu(elgg_echo('groupblog'), $CONFIG->wwwroot . "pg/groupblog/",array());
+ //add_menu(elgg_echo('groupblog'), $CONFIG->wwwroot . "pg/groupblog/",array());
}
// Extend system CSS with our own styles, which are defined in the blog/css view

0 comments on commit c383d00

Please sign in to comment.