Bug 14205: DBRev 3.21.00.22
[koha.git] / Koha.pm
blobee96adf9b69e4e6acdc414a0a7bf9315eeb42228
1 package Koha;
3 # Copyright 2015 BibLibre
4 # Copyright 2015 Theke Solutions
6 # This file is part of Koha.
8 # Koha is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3 of the License, or
11 # (at your option) any later version.
13 # Koha is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with Koha; if not, see <http://www.gnu.org/licenses>.
21 use Modern::Perl;
23 use vars qw{ $VERSION };
25 #the kohaversion is divided in 4 parts :
26 # - #1 : the major number. 3 atm
27 # - #2 : the functional release. 00 atm
28 # - #3 : the subnumber, moves only on a public release
29 # - #4 : the developer version. The 4th number is the database subversion.
30 # used by developers when the database changes. updatedatabase take care of the changes itself
31 # and is automatically called by Auth.pm when needed.
32 $VERSION = "3.21.00.022";
34 sub version {
35 return $VERSION;
40 =head1 NAME
42 Koha - The world's first free and open source library system.
44 =head1 SYNOPSIS
46 At the moment this module only provides a version subroutine.
48 =head1 METHODS
50 =head2 version
52 use Koha;
54 my $version = Koha::version;
56 =head1 SEE ALSO
58 C4::Context
60 kohaversion.pl
62 =head1 AUTHORS
64 Jonathan Druart <jonathan.druart@biblibre.com>
66 Tomas Cohen Arazi <tomascohen@gmail.com>
68 =cut