X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FPlugin%2FAuthentication%2FStore%2FDBIx%2FClass%2FUser.pm;h=471eab9be670bad2bf60dc6d08095cac7fbcd1cf;hb=b5c13b47c2bc742c8d572e23ac4f076e6232dc78;hp=b65b36a31efb12c5602cf308967b83c38f96a931;hpb=edb40fe09b700520feef073670c7063273d43e06;p=catagits%2FCatalyst-Authentication-Store-DBIx-Class.git diff --git a/lib/Catalyst/Plugin/Authentication/Store/DBIx/Class/User.pm b/lib/Catalyst/Plugin/Authentication/Store/DBIx/Class/User.pm index b65b36a..471eab9 100644 --- a/lib/Catalyst/Plugin/Authentication/Store/DBIx/Class/User.pm +++ b/lib/Catalyst/Plugin/Authentication/Store/DBIx/Class/User.pm @@ -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') {