diff --git a/installer/data/mysql/atomicupdate/bug_27351.perl b/installer/data/mysql/atomicupdate/bug_27351.perl new file mode 100644 index 0000000000..f5f0aa24a3 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_27351.perl @@ -0,0 +1,5 @@ +$DBversion = 'XXX'; +if( CheckVersion( $DBversion ) ) { + $dbh->do(q{UPDATE systempreferences SET `type` = 'Choice' WHERE `variable` = 'UsageStatsCountry'}); + NewVersion( $DBversion, 27351, "Set type for UsageStatsCountry to Choice"); +} diff --git a/installer/data/mysql/atomicupdate/bug_27351.sql b/installer/data/mysql/atomicupdate/bug_27351.sql deleted file mode 100644 index 25d0013793..0000000000 --- a/installer/data/mysql/atomicupdate/bug_27351.sql +++ /dev/null @@ -1 +0,0 @@ -UPDATE systempreferences SET `type` = 'Choice' WHERE `variable` = 'UsageStatsCountry'; \ No newline at end of file