first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead

This commit is contained in:
Colin Kuskie 2007-12-05 00:30:43 +00:00
parent 75041656ee
commit 96178fd70c
92 changed files with 209 additions and 209 deletions

View file

@ -602,12 +602,12 @@ sub processConfigurationForm {
my $class = shift;
my $session = shift;
return undef unless ($class->getPluginList($session));
return unless ($class->getPluginList($session));
my $namespace = "WebGUI::Image::".$session->form->process('graphingPlugin');
$namespace =~ s/_/::/g;
return undef unless (isIn($namespace, @{$class->getPluginList($session)}));
return unless (isIn($namespace, @{$class->getPluginList($session)}));
my $graph = $class->load($session, $namespace);