Tache #0001875: Demande amélioration calendrier

Code cleaning
This commit is contained in:
sparkyx 2021-01-16 12:58:08 +01:00
parent a9eb8388bf
commit a7b8d81250
4 changed files with 9 additions and 11 deletions

View file

@ -56,9 +56,7 @@ $cn = Dossier::connect();
global $g_user, $cn,$g_parameter,$http;
$g_user = new User($cn);
$http=new HttpInput();
if ( ! defined("FIRST_WEEK_DAY")) {
define ("FIRST_WEEK_DAY",$g_user->get_first_week_day());
}
IDate::set_firstDate($g_user->get_first_week_day());
/*
* check that the database is not empty
*/