Commit d116e2e2 authored by Gary Wong's avatar Gary Wong
Browse files

Allow clearing reservations, even if the end time has already passed.

parent f19d85ae
......@@ -165,7 +165,7 @@ else {
fatal( "Reservation must not end until after it starts." );
}
if( $endtime <= time ) {
if( $endtime <= time && !$clear ) {
fatal( "Reservation end time has already passed." );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment