Skip to content

Commit

Permalink
Badges: Remove obsolete else branches
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansenDatabay committed Jan 6, 2025
1 parent bdf711f commit a81dcb7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,9 @@ private function getActions(
$row_id_token
)
];
} else {
return [];
}

return [];
}

public function renderTable(): void
Expand Down
3 changes: 1 addition & 2 deletions components/ILIAS/Badge/classes/class.ilBadgeTableGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,9 @@ private function getActions(
$row_id_token
)
];
} else {
return [];
}

return [];
}

public function renderTable(): void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,9 @@ private function getActions(
$row_id_token
)
];
} else {
return [];
}

return [];
}

public function renderTable(): void
Expand Down

0 comments on commit a81dcb7

Please sign in to comment.