Bug 21961: DBRev 18.11.00.001
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit a02b322fe7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
3f92fca658
commit
a9f618f96d
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 = "18.11.00.000";
|
||||
$VERSION = "18.11.00.001";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
UPDATE permissions SET code = "manage_didyoumean" WHERE code = "manage_didyouean";
|
||||
UPDATE user_permissions SET code = "manage_didyoumean" WHERE code = "manage_didyouean";
|
||||
|
||||
-- Bug 21961 - Fix typo in manage_didyoumean permission
|
||||
|
|
@ -17135,6 +17135,18 @@ if( CheckVersion( $DBversion ) ) {
|
|||
print "Upgrade to $DBversion done (18.11.00 release)\n";
|
||||
}
|
||||
|
||||
$DBversion = '18.11.00.001';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q{
|
||||
UPDATE permissions SET code = 'manage_didyoumean' WHERE code = 'manage_didyouean';
|
||||
});
|
||||
$dbh->do(q{
|
||||
UPDATE user_permissions SET code = 'manage_didyoumean' WHERE code = 'manage_didyouean';
|
||||
});
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion (Bug 21961 - Fix typo in manage_didyoumean permission)\n";
|
||||
}
|
||||
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue