Line 0
Link Here
|
0 |
- |
1 |
$DBversion = 'XXX'; # will be replaced by the RM |
|
|
2 |
if( CheckVersion( $DBversion ) ) { |
3 |
my $ft_enabled = $dbh->selectrow_array(q| |
4 |
SELECT COUNT(*) FROM systempreferences WHERE variable like "IDreamBooks%" and value="1" |
5 |
|); |
6 |
if ( $ft_enabled ) { |
7 |
$dbh->do(q| |
8 |
UPDATE systempreferences |
9 |
SET value="0" |
10 |
WHERE variable like "IDreamBooks%" |
11 |
|); |
12 |
} |
13 |
|
14 |
SetVersion( $DBversion ); |
15 |
print "Upgrade to $DBversion done (Bug 24854 - Disable IDreamBooks)\n"; |
16 |
} |