core/model/modx/processors/security/profile/get.class.php
Method getUserGroups
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getUserGroups() {
$c = $this->modx->newQuery('modUserGroupMember');
$c->leftJoin('modUserGroupRole','UserGroupRole');
$c->innerJoin('modUserGroup','UserGroup');
$c->where(array(