removing wantedroles from roles sub
[catagits/Catalyst-Authentication-Store-DBIx-Class.git] / 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') {