Skip to content

Commit

Permalink
Benutzer-Profil: Ansicht einschränken
Browse files Browse the repository at this point in the history
  • Loading branch information
lichtbit-mirror committed Nov 2, 2023
1 parent d8498e4 commit 85dbca7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions user/classes/output/myprofile/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ public static function build_tree($user, $iscurrentuser, $course = null) {
}
}

// Plugins.
$pluginswithfunction = get_plugins_with_function('myprofile_navigation', 'lib.php');
foreach ($pluginswithfunction as $plugins) {
foreach ($plugins as $function) {
$function($tree, $user, $iscurrentuser, $course);
}
}
// // Plugins.
// $pluginswithfunction = get_plugins_with_function('myprofile_navigation', 'lib.php');
// foreach ($pluginswithfunction as $plugins) {
// foreach ($plugins as $function) {
// $function($tree, $user, $iscurrentuser, $course);
// }
// }

$tree->sort_categories();
return $tree;
Expand Down

0 comments on commit 85dbca7

Please sign in to comment.