projects
/
dbsrgits/DBIx-Class-DeploymentHandler.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
30c3818
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/VersionResultSet.pm
b/lib/DBIx/Class/DeploymentHandler/VersionStorage/Standard/VersionResultSet.pm
index
52d73ec
..
79f06a3
100644
(file)
--- 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;