adding debuglevel syspref too, v3.00.00.004
Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
parent
1c2b893285
commit
6bbed80c79
|
|
@ -2183,9 +2183,6 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
|||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
=item
|
||||
Deal with the sessions table that uses CGI::Session
|
||||
=cut
|
||||
|
||||
$DBversion = "3.00.00.002";
|
||||
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
||||
|
|
@ -2199,9 +2196,6 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
|||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
=item
|
||||
Deal with the sessions table that uses CGI::Session
|
||||
=cut
|
||||
|
||||
$DBversion = "3.00.00.003";
|
||||
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
||||
|
|
@ -2214,6 +2208,17 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
|||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
|
||||
$DBversion = "3.00.00.004";
|
||||
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
|
||||
$dbh->do("INSERT INTO `systempreferences` VALUES ('DebugLevel','2','set the level of error info sent to the browser. 0=none, 1=some, 2=most','0|1|2','Choice')");
|
||||
}
|
||||
print "Upgrade to $DBversion done (adding DebugLevel systempref, in 'Admin' tab)\n";
|
||||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
|
||||
|
||||
=item DropAllForeignKeys($table)
|
||||
|
||||
Drop all foreign keys of the table $table
|
||||
|
|
|
|||
Loading…
Reference in New Issue