@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

-12
-12
src/view/phui/calendar/PHUICalendarMonthView.php
··· 193 193 return $box; 194 194 } 195 195 196 - private function getMaxDailyEventsForWeek($week_of_cell_lists) { 197 - $max_count = 0; 198 - 199 - foreach ($week_of_cell_lists as $cell_list) { 200 - if ($cell_list['count'] > $max_count) { 201 - $max_count = $cell_list['count']; 202 - } 203 - } 204 - 205 - return $max_count; 206 - } 207 - 208 196 private function getEventListCell($event_list) { 209 197 $list = $event_list['list']; 210 198 $class = $event_list['class'];