diff --git a/installer/data/mysql/atomicupdate/bug_21891-remove-non-xslt-detail.perl b/installer/data/mysql/atomicupdate/bug_21891-remove-non-xslt-detail.perl new file mode 100644 index 0000000000..80d66ec57f --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_21891-remove-non-xslt-detail.perl @@ -0,0 +1,6 @@ +$DBversion = 'XXX'; # will be replaced by the RM +if( CheckVersion( $DBversion ) ) { + $dbh->do( "UPDATE systempreferences SET value = 'default' WHERE variable = 'XSLTDetailsDisplay' AND value = ''" ); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 29891 - Remove non-XSLT detail view in the staff client)\n"; +}