Permalink
Browse files

MDL-37280 remove bogus lang_string causing fatal error

Credit goes to Lorenzo Nicora, thanks.
  • Loading branch information...
1 parent 8f1b34c commit 7d7e562296d98412c355766c9c5eccb42abe36e5 @skodak skodak committed Dec 22, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 course/renderer.php
View
1 course/renderer.php
@@ -123,7 +123,6 @@ protected function course_category_tree_category(stdClass $category, $depth=1) {
if ($hascourses) {
$content .= html_writer::start_tag('div', array('class'=>'courses'));
$coursecount = 0;
- $strinfo = new lang_string('info');
foreach ($category->courses as $course) {
$classes = array('course');
$linkclass = 'course_link';

0 comments on commit 7d7e562

Please sign in to comment.