remove code kept for compatibility purpose on the 1.3 upgrade
Merge pull request #802 from kinnou02/remove_max_duration_to_pt

remove code kept for compatibility purpose on the 1.3 upgrade