Bug 13712 - Missing newline in DB update 3.19.00.010

To test:
- Make sure your database is pre 3.19.00.010 (for example by loading in
  an older backup)
- Run through the web-based database update (web installer, step 3)
- Verify that updates 3.19.00.010 and 3.19.00.011 are squashed
  together on one line
- Apply the patch
- Reset the database and run the web-based database upgrade again
- Verify that the two uupdates are noe displayed on separate lines
  (as separate bullet points)

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Magnus Enger 2015-02-16 10:50:17 +01:00 committed by Tomas Cohen Arazi
parent aed056a636
commit 407e9c163a

View file

@ -9755,7 +9755,7 @@ if ( CheckVersion($DBversion) ) {
$DBversion = "3.19.00.010";
if ( CheckVersion($DBversion) ) {
$dbh->do("INSERT INTO `systempreferences` (variable,value,explanation,options,type) VALUES('SessionRestrictionByIP','1','Check for Change in Remote IP address for Session Security. Disable when remote ip address changes frequently.','','YesNo')");
print "Upgrade to $DBversion done (Bug 5511 - SessionRestrictionByIP)";
print "Upgrade to $DBversion done (Bug 5511 - SessionRestrictionByIP)\n";
SetVersion ($DBversion);
}