Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-34338 mod_folder: delete unused $browser var.

  • Loading branch information...
commit 7189c6102f1a82f95e1b27b9f81c993e0d950c93 1 parent 2e46783
@stronk7 stronk7 authored
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);
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.