Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

69 lines
1.6 KiB

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