}
$groups = self::ufGroup($type);
- return !empty($groups) && in_array($gid, $groups) ? TRUE : FALSE;
+ return !empty($groups) && in_array($gid, $groups);
}
/**
* @return bool
*/
public static function isMultisiteEnabled() {
- return Civi::settings()->get('is_enabled') ? TRUE : FALSE;
+ return (bool) Civi::settings()->get('is_enabled');
}
/**