From 840b4f0b67d0861739576521043459aff13d2ff5 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Mon, 24 Nov 2008 04:46:29 +0000 Subject: [PATCH] capability report: Remove unnecssary, probably wrong, line of code. --- admin/report/capability/index.php | 1 - 1 file changed, 1 deletion(-) diff --git a/admin/report/capability/index.php b/admin/report/capability/index.php index 4470b87a9e..293d0580ce 100644 --- a/admin/report/capability/index.php +++ b/admin/report/capability/index.php @@ -124,7 +124,6 @@ if ($capability) { // Put the contexts into a tree structure. foreach ($contexts as $conid => $con) { - $contexts[$conid]->children = array(); $parentcontextid = get_parent_contextid($con); if ($parentcontextid) { $contexts[$parentcontextid]->children[] = $conid; -- 2.39.5