function delete-calendars called the function delete, which was bound to delete only contacts. I added an option in delete function in order to choose the right backend, evolution-calendar or evolution-contacts
function calendar: the part "#Add local database to the source " ommitted to precise "backend=evolution-calendar" so that synchronisation failed