X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=installer%2Fdata%2Fmysql%2Fupdate22to30.pl;h=76bb3c2053f80eec3f81ae11b03581704c5a2acf;hb=00bd409a9a4e7576a2d5f613e7e86e26758ee287;hp=6d5b1ccd7479b56d1b1470d7175324ea994ad5a9;hpb=c190d93a12c2741b8d4539b7bee175257da815c8;p=koha.git diff --git a/installer/data/mysql/update22to30.pl b/installer/data/mysql/update22to30.pl index 6d5b1ccd74..76bb3c2053 100755 --- a/installer/data/mysql/update22to30.pl +++ b/installer/data/mysql/update22to30.pl @@ -3538,12 +3538,12 @@ my $DBversion = "3.00.00.000"; print "upgrade to Koha 3.0 done\n"; SetVersion ($DBversion); - -=item GetDefaultClause +=head1 GetDefaultClause Generate a default clause (for an ALTER TABLE command) =cut + sub GetDefaultClause { my $default = shift; @@ -3554,11 +3554,11 @@ sub GetDefaultClause { return "default " . $dbh->quote($default); } -=item TransformToNum +=head1 TransformToNum + +Transform the Koha version from a 4 parts string +to a number, with just 1. - Transform the Koha version from a 4 parts string - to a number, with just 1 . - =cut sub TransformToNum { @@ -3568,8 +3568,10 @@ sub TransformToNum { return $version; } -=item SetVersion - set the DBversion in the systempreferences +=head1 SetVersion + +set the DBversion in the systempreferences + =cut sub SetVersion {