Browse files

MDL-9376 fix minor global use

  • Loading branch information...
1 parent fb7abd4 commit fd602f4620a47c0dbae309e837463daf4f7d5995 @stronk7 stronk7 committed Mar 14, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/forum/lib.php
View
3 mod/forum/lib.php
@@ -4642,8 +4642,7 @@ function forum_user_can_see_discussion($forum, $discussion, $context, $user=NULL
*
*/
function forum_user_can_see_post($forum, $discussion, $post, $user=NULL, $cm=NULL) {
- global $USER;
- global $CFG;
+ global $CFG, $USER;
// retrieve objects (yuk)
if (is_numeric($forum)) {

0 comments on commit fd602f4

Please sign in to comment.