Fix #8571 - Remove duplicate code in users detailviewdefs
Fix #8571 - Remove duplicate code in users detailviewdefs

(cherry picked from commit d488ffa86db6f4117dfb62117779b3fd9a83a583)

Dillon-Brown/SuiteCRM,Dillon-Brown/SuiteCRM,Dillon-Brown/SuiteCRM,Dillon-Brown/SuiteCRM