remove debugging code
Matt S Trout [Wed, 1 Sep 2010 19:30:28 +0000 (19:30 +0000)]
lib/Catalyst/Authentication/Store/DBIx/Class/User.pm
t/10-user-autoload.t

index 231d1cd..647ebcc 100644 (file)
@@ -241,7 +241,7 @@ sub auto_update {
 sub can {
     my $self = shift;
     return $self->SUPER::can(@_) || do {
-        my ($method) = @_; warn $method;
+        my ($method) = @_;
         if (my $code = $self->_user->can($method)) {
             sub { shift->_user->$code(@_) }
         } elsif (my $accessor =
@@ -373,6 +373,8 @@ Jason Kuri (jayk@cpan.org)
 
 Matt S Trout (mst) <mst@shadowcat.co.uk>
 
+(fixes wrt can/AUTOLOAD sponsored by L<http://reask.com/>)
+
 =head1 LICENSE
 
 Copyright (c) 2007-2010 the aforementioned authors. All rights
index e5a8479..e58c835 100644 (file)
@@ -19,8 +19,6 @@ is($o->exists, $message, 'AUTOLOAD proxies ok');
 
 ok(my $meth = $o->can('exists'), 'can returns true');
 
-::Dwarn $meth;
-
 is($o->$meth, $message, 'can returns right coderef');
 
 done_testing;