Skip to content

Commit

Permalink
rector
Browse files Browse the repository at this point in the history
  • Loading branch information
A709197 committed Nov 28, 2024
1 parent e965441 commit c9855f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions application/modules/api/services/Calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ public function sync($userid, $commission = null): void
}

// Le refresh est par défaut à 5 minutes
$refreshTime = getenv('PREVARISC_CALENDAR_REFRESH_TIME') ?
getenv('PREVARISC_CALENDAR_REFRESH_TIME') : 'PT5M';
$refreshTime = getenv('PREVARISC_CALENDAR_REFRESH_TIME') ?: 'PT5M';

$calendar = new VCalendar([
'NAME' => $calendrierNom,
Expand Down

0 comments on commit c9855f3

Please sign in to comment.