From: Rafael Kitover Date: Mon, 11 Jan 2010 22:42:30 +0000 (+0000) Subject: make a public ::Schema::unregister_source X-Git-Tag: v0.08116~60 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=98cabed3e8744ba51d186d2eecb0938596ad572e;p=dbsrgits%2FDBIx-Class.git make a public ::Schema::unregister_source --- diff --git a/lib/DBIx/Class/Schema.pm b/lib/DBIx/Class/Schema.pm index 2021151..024e81d 100644 --- a/lib/DBIx/Class/Schema.pm +++ b/lib/DBIx/Class/Schema.pm @@ -1269,6 +1269,24 @@ sub register_source { $self->_register_source(@_); } +=head2 unregister_source + +=over 4 + +=item Arguments: $moniker + +=back + +Removes the L from the schema for the given moniker. + +=cut + +sub unregister_source { + my $self = shift; + + $self->_unregister_source(@_); +} + =head2 register_extra_source =over 4