Bug 8085 - DBrev 3.23.00.003
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
77ddc257e6
commit
a1c4b8b293
2
Koha.pm
2
Koha.pm
|
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
|||
# - #4 : the developer version. The 4th number is the database subversion.
|
||||
# used by developers when the database changes. updatedatabase take care of the changes itself
|
||||
# and is automatically called by Auth.pm when needed.
|
||||
$VERSION = "3.23.00.002";
|
||||
$VERSION = "3.23.00.003";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
-- Rename 'Reserve slip' to 'Holds slip' to match Koha's terminology
|
||||
UPDATE letter SET name = "Hold Slip" WHERE name = "Reserve Slip";
|
||||
UPDATE letter SET title = "Hold Slip" WHERE title = "Reserve Slip";
|
||||
|
|
@ -11416,6 +11416,19 @@ if(CheckVersion($DBversion)) {
|
|||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "3.23.00.003";
|
||||
if(CheckVersion($DBversion)) {
|
||||
$dbh->do(q{
|
||||
UPDATE letter SET name = "Hold Slip" WHERE name = "Reserve Slip"
|
||||
});
|
||||
$dbh->do(q{
|
||||
UPDATE letter SET title = "Hold Slip" WHERE title = "Reserve Slip";
|
||||
});
|
||||
|
||||
print "Upgrade to $DBversion done (Bug 8085 - Rename 'Reserve slip' to 'Hold slip')\n";
|
||||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
|
|
|
|||
Loading…
Reference in New Issue