Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
campbell-m committed Nov 8, 2024
1 parent 275977a commit ac8ea0a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions web/mrbs_sql.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1391,22 +1391,6 @@ function mrbsCreateRepeatEntry(array $data)
}


function trimToEndOfMonth(&$month, &$day, &$year)
{
// Make the month valid so that we can use checkdate()
while ($month > 12)
{
$month -= 12;
$year++;
}
// Make the date valid if day is more than number of days in month:
while (!checkdate($month, $day, $year) && ($day > 1))
{
$day--;
}
}


/** mrbsCreateRepeatingEntrys()
*
* Creates a repeat entry in the database + all the repeating entries
Expand Down

0 comments on commit ac8ea0a

Please sign in to comment.