core/model/modx/processors/security/user/duplicate.class.php
Method beforeSave
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function beforeSave() {
/* copy profile */
$profile = $this->object->getOne('Profile');
if ($profile) {
// Reset some modUserProfile fields