From: Arthur Axel 'fREW' Schmidt Date: Sat, 20 Mar 2010 20:36:11 +0000 (-0500) Subject: get rid of useless || 0 X-Git-Tag: v0.001000_01~72 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class-DeploymentHandler.git;a=commitdiff_plain;h=22be40e970f61f29ef3f4812282cccccb812e0f4 get rid of useless || 0 --- diff --git a/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/VersionResultSet.pm b/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/VersionResultSet.pm index 52d73ec..79f06a3 100644 --- a/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/VersionResultSet.pm +++ b/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/VersionResultSet.pm @@ -17,7 +17,7 @@ sub database_version { $self->search(undef, { order_by => { -desc => 'installed' }, rows => 1 - })->get_column('version')->next || 0; + })->get_column('version')->next; } 1;