Bug 26265: (QA follow-up) Remove g option from regex, add few dirs
[koha-equinox.git] / kohaversion.pl
index 6f5f0d6..d215634 100644 (file)
@@ -1,23 +1,10 @@
 # the next koha public release version number;
 
-=head1 FUNCTIONS
-
-=head2 kohaversion
-
-the kohaversion is divided in 4 parts :
- - #1 : the major number. 3 atm
- - #2 : the functional release. 00 atm
- - #3 : the subnumber, moves only on a public release
- - #4 : the developer version. The 4th number is the database subversion.
-        used by developers when the database changes. updatedatabase take care of the changes itself
-        and is automatically called by Auth.pm when needed.
-
-=cut
-
-use strict;
+use Modern::Perl;
+use Koha;
 
 sub kohaversion {
-    our $VERSION = '3.19.00.003';
+    our $VERSION = $Koha::VERSION;
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install