Remove old WebGUI::Utility isIn and replace with smart match.

This commit is contained in:
Colin Kuskie 2011-12-05 13:48:08 -08:00
parent d1f3d0771d
commit 398c3afdfd
2 changed files with 2 additions and 1 deletions

View file

@ -370,7 +370,7 @@ sub view {
push(@found, $child->getId);
##Filter based on visibility
next CHILD unless $child->canView;
next CHILD if isIn($asset, @hidden);
next CHILD if $asset ~~ @hidden;
##Detect child types
my $is_shortcut = $child->isa('WebGUI::Asset::Shortcut');
my $is_dashlet = $child->can('getOverrideFormDefinition');