Skip to content
Browse files

MDL-34338 mod_folder: delete unused $browser var.

  • Loading branch information...
1 parent caaf32f commit 7772fed15d89fc36040597116459fa5586fe2ce6 @stronk7 stronk7 committed Sep 11, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/folder/renderer.php
View
3 mod/folder/renderer.php
@@ -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 7772fed

Please sign in to comment.
Something went wrong with that request. Please try again.