Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 10, 2010
1 parent 873be4d commit faa5e9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Mojolicious/Plugins.pm
Expand Up @@ -44,7 +44,7 @@ sub load_plugin {
return $name->new->register($app, $args) if $self->_load($name);
}

# Normal plugin
# Search plugin by name
else {

# Class
Expand Down Expand Up @@ -104,7 +104,6 @@ sub _load {

# Module is a plugin
return unless $module->can('new') && $module->can('register');

return 1;
}

Expand Down

0 comments on commit faa5e9c

Please sign in to comment.