applications/dashboard/models/class.rolemodel.php
public static function FilterPersonalInfo($Role) {
      if (is_string($Role)) {
         $Role = array_shift(self::GetByName($Role));
      }

      return (GetValue('PersonalInfo', $Role)) ? FALSE : TRUE;
   }
public static function FilterPersonalInfo($Role) {
      if (is_string($Role)) {
         $Role = array_shift(self::GetByName($Role));
      }

      return (GetValue('PersonalInfo', $Role)) ? FALSE : TRUE;
   }
public static function FilterPersonalInfo ( $ Role ) { if ( is_string ( $ Role ) ) { $ Role = array_shift ( self :: GetByName ( $ Role ) ) ; } return ( GetValue ( 'PersonalInfo' , $ Role ) ) ? FALSE : TRUE ; }
Use with array_filter to remove PersonalInfo roles.

@var mixed $Roles Role name (string) or $Role data (array or object).
@return bool Whether role is NOT personal info (FALSE = remove it, it's personal).
Use with array_filter to remove PersonalInfo roles .