mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-21 22:32:41 +01:00
Remove unused PHUICalendarMonthView::getMaxDailyEventsForWeek()
Summary: Call to this private function was removed in https://we.phorge.it/rPaee9d88c17e25b924ecd5293691cc6fe38d6c7d9. Test Plan: Grep the code; run static code analysis. Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D25788
This commit is contained in:
parent
edb2175a9b
commit
66bd13b193
1 changed files with 0 additions and 12 deletions
|
@ -193,18 +193,6 @@ final class PHUICalendarMonthView extends AphrontView {
|
|||
return $box;
|
||||
}
|
||||
|
||||
private function getMaxDailyEventsForWeek($week_of_cell_lists) {
|
||||
$max_count = 0;
|
||||
|
||||
foreach ($week_of_cell_lists as $cell_list) {
|
||||
if ($cell_list['count'] > $max_count) {
|
||||
$max_count = $cell_list['count'];
|
||||
}
|
||||
}
|
||||
|
||||
return $max_count;
|
||||
}
|
||||
|
||||
private function getEventListCell($event_list) {
|
||||
$list = $event_list['list'];
|
||||
$class = $event_list['class'];
|
||||
|
|
Loading…
Reference in a new issue