Merge pull request #116 from knnniggett/zmupdate_newrelease

Add 1.26.1 and 1.26.2 releases to zmupdate
This commit is contained in:
Kyle Johnson 2013-09-07 19:07:37 -07:00
commit 6c134f9b4b
4 changed files with 29 additions and 1 deletions

View File

@ -42,4 +42,6 @@ EXTRA_DIST = \
zm_update-1.24.2.sql \
zm_update-1.24.3.sql \
zm_update-1.24.4.sql \
zm_update-1.26.0.sql
zm_update-1.26.0.sql \
zm_update-1.26.1.sql \
zm_update-1.26.2.sql

6
db/zm_update-1.26.1.sql Normal file
View File

@ -0,0 +1,6 @@
--
-- This updates a 1.26.0 database to 1.26.1
--
-- No changes required
--

6
db/zm_update-1.26.2.sql Normal file
View File

@ -0,0 +1,6 @@
--
-- This updates a 1.26.1 database to 1.26.2
--
-- No changes required
--

View File

@ -1025,6 +1025,20 @@ if ( $version )
$cascade = !undef;
}
if ( $cascade || $version eq "1.26.1" )
{
# Patch the database
patchDB( $dbh, "1.26.1" );
$cascade = !undef;
}
if ( $cascade || $version eq "1.26.2" )
{
# Patch the database
patchDB( $dbh, "1.26.2" );
$cascade = !undef;
}
if ( $cascade )
{
my $installed_version = ZM_VERSION;