From ef232b42943a323715a58fc23d04d809de699fb3 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 9 Dec 2008 16:34:37 +0000 Subject: [PATCH] MDL-17502 oops, I have overlooked Tim already fixed this - sorry --- course/lib.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/course/lib.php b/course/lib.php index 33978affb8c..9be6b507458 100644 --- a/course/lib.php +++ b/course/lib.php @@ -1670,10 +1670,6 @@ function make_categories_list(&$list, &$parents, $requiredcapability = '', $parents = array(); } - if (is_string($requiredcapability) && $requiredcapability) { - $requiredcapability = array($requiredcapability); - } - if (empty($category)) { // Start at the top level. $category = new stdClass;