Browse Source
Signed-off-by: Josef Moravec <josef.moravec@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>19.05.x
3 changed files with 21 additions and 0 deletions
@ -0,0 +1,14 @@ |
|||
$DBversion = 'XXX'; # will be replaced by the RM |
|||
if( CheckVersion( $DBversion ) ) { |
|||
|
|||
$dbh->do(q{ |
|||
INSERT IGNORE INTO systempreferences |
|||
( variable, value, options, explanation, type ) |
|||
VALUES |
|||
('RESTPublicAPI','1',NULL,'If enabled, the REST API will expose the /public endpoints.','YesNo') |
|||
}); |
|||
|
|||
# Always end with this (adjust the bug info) |
|||
SetVersion( $DBversion ); |
|||
print "Upgrade to $DBversion done (Bug 22061 - Add a /public namespace that can be switched on/off)\n"; |
|||
} |
Loading…
Reference in new issue