removing wantedroles from roles sub
Jay Kuri [Mon, 18 Dec 2006 17:28:56 +0000 (17:28 +0000)]
lib/Catalyst/Plugin/Authentication/Store/DBIx/Class/User.pm

index b65b36a..471eab9 100644 (file)
@@ -90,7 +90,8 @@ sub supported_features {
 
 
 sub roles {
-    my ( $self, @wanted_roles ) = @_;
+    my ( $self ) = shift;
+    ## this used to load @wantedroles - but that doesn't seem to be used by the roles plugin, so I dropped it.
 
     ## shortcut if we have already retrieved them
     if (ref $self->_roles eq 'ARRAY') {