From: Arthur Axel 'fREW' Schmidt Date: Wed, 17 Mar 2010 05:49:30 +0000 (-0500) Subject: fix method names in VersionResultSet X-Git-Tag: v0.001000_01~97 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2a9e7b481f06e356a699fdfb599dcd5402996d52;p=dbsrgits%2FDBIx-Class-DeploymentHandler.git fix method names in VersionResultSet --- diff --git a/lib/DBIx/Class/DeploymentHandler/VersionResultSet.pm b/lib/DBIx/Class/DeploymentHandler/VersionResultSet.pm index 33041a7..cc76c62 100644 --- a/lib/DBIx/Class/DeploymentHandler/VersionResultSet.pm +++ b/lib/DBIx/Class/DeploymentHandler/VersionResultSet.pm @@ -7,12 +7,12 @@ use parent 'DBIx::Class::ResultSet'; use Try::Tiny; -sub is_installed { +sub version_storage_is_installed { my $self = shift; try { $self->next; 1} catch { undef } } -sub db_version { +sub database_version { my $self = shift; $self->search(undef, { order_by => { -desc => 'installed' },