Bug 22660: DBrev 20.05.02.009

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Lucas Gass 2020-08-06 20:28:34 +00:00
parent 5b6756a3e6
commit 1d08b9fdc9
3 changed files with 8 additions and 7 deletions

View File

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #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.
$VERSION = "20.05.02.008";
$VERSION = "20.05.02.009";
sub version {
return $VERSION;

View File

@ -1,6 +0,0 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do( "INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('NewsToolEditor','tinymce', 'Choose tool for editing News','tinymce|codemirror','Choice')" );
NewVersion( $DBversion, 22660, "Adds NewsToolEditor system preference");
}

View File

@ -22362,6 +22362,13 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, 25709, "Rename systempreference to NotesToHide");
}
$DBversion = '20.05.02.009';
if( CheckVersion( $DBversion ) ) {
$dbh->do( "INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('NewsToolEditor','tinymce', 'Choose tool for editing News','tinymce|codemirror','Choice')" );
NewVersion( $DBversion, 22660, "Adds NewsToolEditor system preference");
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';