[Bast-commits] r8283 - DBIx-Class/0.08/trunk/lib/DBIx/Class

caelum at dev.catalyst.perl.org caelum at dev.catalyst.perl.org
Mon Jan 11 22:42:31 GMT 2010


Author: caelum
Date: 2010-01-11 22:42:30 +0000 (Mon, 11 Jan 2010)
New Revision: 8283

Modified:
   DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm
Log:
make a public ::Schema::unregister_source

Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm	2010-01-11 21:23:38 UTC (rev 8282)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm	2010-01-11 22:42:30 UTC (rev 8283)
@@ -1269,6 +1269,24 @@
   $self->_register_source(@_);
 }
 
+=head2 unregister_source
+
+=over 4
+
+=item Arguments: $moniker
+
+=back
+
+Removes the L<DBIx::Class::ResultSource> from the schema for the given moniker.
+
+=cut
+
+sub unregister_source {
+  my $self = shift;
+
+  $self->_unregister_source(@_);
+}
+
 =head2 register_extra_source
 
 =over 4




More information about the Bast-commits mailing list