remove WebGUI::Utility::isIn

This commit is contained in:
Graham Knop 2010-09-07 12:33:15 -05:00
parent 0e754a51e4
commit 6aa26c2e44
61 changed files with 126 additions and 148 deletions

View file

@ -609,7 +609,7 @@ sub processConfigurationForm {
my $namespace = "WebGUI::Image::".$session->form->process('graphingPlugin');
$namespace =~ s/_/::/g;
if (! isIn($namespace, @{$class->getPluginList($session)})) {
if (! $namespace ~~ $class->getPluginList($session)) {
WebGUI::Error->throw(error => "Graphing plugin not available")
}