Permalink
Browse files

MDL-26238 remove deprecated second parameter from groups_get_group() …

…calls
  • Loading branch information...
1 parent 54b7b59 commit 9250bf8172c61675a15450dbe0903e03bba83a41 Charles Fulton committed with skodak Feb 6, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 blog/rsslib.php
  2. +1 −1 mod/chat/gui_basic/index.php
  3. +1 −1 mod/chat/gui_header_js/index.php
  4. +1 −1 mod/chat/gui_sockets/index.php
View
@@ -191,7 +191,7 @@ function blog_rss_get_feed($context, $args) {
$info = $SITE->fullname;
break;
case 'group':
- $group = groups_get_group($id, false);
+ $group = groups_get_group($id);
$info = $group->name; //TODO: $DB->get_field('groups', 'name', array('id'=>$id))
break;
default:
@@ -48,7 +48,7 @@
/// Check to see if groups are being used here
if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used
if ($groupid = groups_get_activity_group($cm)) {
- if (!$group = groups_get_group($groupid, false)) {
+ if (!$group = groups_get_group($groupid)) {
print_error('invalidgroupid');
}
$groupname = ': '.$group->name;
@@ -33,7 +33,7 @@
/// Check to see if groups are being used here
if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used
if ($groupid = groups_get_activity_group($cm)) {
- if (!$group = groups_get_group($groupid, false)) {
+ if (!$group = groups_get_group($groupid)) {
print_error('invalidgroupid');
}
$groupname = ': '.$group->name;
@@ -33,7 +33,7 @@
/// Check to see if groups are being used here
if ($groupmode = groups_get_activity_groupmode($cm)) { // Groups are being used
if ($groupid = groups_get_activity_group($cm)) {
- if (!$group = groups_get_group($groupid, false)) {
+ if (!$group = groups_get_group($groupid)) {
print_error('invalidgroupid');
}
$groupname = ': '.$group->name;

0 comments on commit 9250bf8

Please sign in to comment.