Permalink
Browse files

MDL-34338 mod_folder: delete unused $browser var.

  • Loading branch information...
1 parent 2e46783 commit 7189c6102f1a82f95e1b27b9f81c993e0d950c93 @stronk7 stronk7 committed Sep 11, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/folder/renderer.php
View
@@ -56,7 +56,6 @@ protected function htmllize_tree($tree, $dir) {
if (empty($dir['subdirs']) and empty($dir['files'])) {
return '';
}
- $browser = get_file_browser();
$result = '<ul>';
foreach ($dir['subdirs'] as $subdir) {
$image = $this->output->pix_icon(file_folder_icon(24), $subdir['dirname'], 'moodle');
@@ -104,4 +103,4 @@ public function __construct($folder, $cm, $course) {
$fs = get_file_storage();
$this->dir = $fs->get_area_tree($this->context->id, 'mod_folder', 'content', 0);
}
-}
+}

0 comments on commit 7189c61

Please sign in to comment.