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 Apr 8, 2024
1 parent 7bd9802 commit 221ddd5
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 221ddd5

Please sign in to comment.