@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_24854.perl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_24854.perl --- a/installer/data/mysql/atomicupdate/bug_24854.perl +++ a/installer/data/mysql/atomicupdate/bug_24854.perl @@ -0,0 +1,16 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + my $ft_enabled = $dbh->selectrow_array(q| + SELECT COUNT(*) FROM systempreferences WHERE variable like "IDreamBooks%" and value="1" + |); + if ( $ft_enabled ) { + $dbh->do(q| + UPDATE systempreferences + SET value="0" + WHERE variable like "IDreamBooks%" + |); + } + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 24854 - Disable IDreamBooks)\n"; +} --