get rid of useless || 0
Arthur Axel 'fREW' Schmidt [Sat, 20 Mar 2010 20:36:11 +0000 (15:36 -0500)]
lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/VersionResultSet.pm

index 52d73ec..79f06a3 100644 (file)
@@ -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;