Skip to content

Commit

Permalink
Merged some fixes for MDL-9402 from stable (causing forum unread coun…
Browse files Browse the repository at this point in the history
…ts to break)
  • Loading branch information
moodler committed Apr 17, 2007
1 parent a32fa35 commit afc58a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion course/format/lams/format.php
Expand Up @@ -3,7 +3,6 @@
// The main difference is that news forum is replaced by LAMS learner
// interface.

require_once($CFG->dirroot.'/mod/forum/lib.php');
require_once($CFG->dirroot.'/mod/lams/constants.php');
require_once($CFG->dirroot.'/lib/weblib.php');

Expand Down
2 changes: 0 additions & 2 deletions course/format/social/format.php
Expand Up @@ -2,8 +2,6 @@
// format.php - course format featuring social forum
// included from view.php

require_once($CFG->dirroot.'/mod/forum/lib.php');

// Bounds for block widths
// more flexible for theme designers taken from theme config.php
$lmin = (empty($THEME->block_l_min_width)) ? 100 : $THEME->block_l_min_width;
Expand Down
1 change: 1 addition & 0 deletions course/view.php
Expand Up @@ -6,6 +6,7 @@
require_once('lib.php');
require_once($CFG->libdir.'/blocklib.php');
require_once($CFG->libdir.'/ajax/ajaxlib.php');
require_once($CFG->dirroot.'/mod/forum/lib.php');

$id = optional_param('id', 0, PARAM_INT);
$name = optional_param('name', '', PARAM_RAW);
Expand Down

0 comments on commit afc58a2

Please sign in to comment.