Removed duplicate function
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop