# NOTE: Please keep the version in kohaversion.pl up-to-date!
use strict;
-# use warnings;
+use warnings;
# CPAN modules
use DBI;
SetVersion ($DBversion);
}
if (C4::Context->preference("Version") =~/3\.00/) {
- warn "inside 3.00";
my $perllibdir=C4::Context->config('intranetdir');
my $return=do qq($perllibdir/installer/data/mysql/updatedatabase30.pl);
unless ($return){
print STDERR "cannot read file $ENV{'PERL5LIB'}/installer/data/mysql/updatedatabase30.pl : $@ \n" if ($@);
}
}
+
+
=item DropAllForeignKeys($table)
Drop all foreign keys of the table $table