@@ -, +, @@
---
.../atomicupdate/bug_20568_api_keys.perl | 7 --
installer/data/mysql/sysprefs.sql | 1 -
.../bootstrap/en/includes/usermenu.inc | 10 --
.../bootstrap/en/modules/opac-apikeys.tt | 110 ----------------
opac/opac-apikeys.pl | 119 ------------------
5 files changed, 247 deletions(-)
delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-apikeys.tt
delete mode 100755 opac/opac-apikeys.pl
--- a/installer/data/mysql/atomicupdate/bug_20568_api_keys.perl
+++ a/installer/data/mysql/atomicupdate/bug_20568_api_keys.perl
@@ -20,13 +20,6 @@ if(CheckVersion($DBversion)) {
});
}
- $dbh->do(q{
- INSERT IGNORE INTO `systempreferences`
- (variable,value,explanation,options,type)
- VALUES
- ('AllowPatronsManageAPIKeysInOPAC', '0', 'If enabled, patrons can manage their own API keys in the OPAC', NULL, 'YesNo');
- });
-
print "Upgrade to $DBversion done (Bug 20568 - Add API key management interface for patrons)\n";
SetVersion($DBversion);
}
--- a/installer/data/mysql/sysprefs.sql
+++ a/installer/data/mysql/sysprefs.sql
@@ -30,7 +30,6 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `
('AllowNotForLoanOverride','0','','If ON, Koha will allow the librarian to loan a not for loan item.','YesNo'),
('AllowOfflineCirculation','0','','If on, enables HTML5 offline circulation functionality.','YesNo'),
('AllowPatronToSetCheckoutsVisibilityForGuarantor', '0', NULL, 'If enabled, the patron can set checkouts to be visible to his or her guarantor', 'YesNo'),
-('AllowPatronsManageAPIKeysInOPAC', '0', NULL, 'If enabled, patrons can manage their own API keys in the OPAC', 'YesNo'),
('AllowPKIAuth','None','None|Common Name|emailAddress','Use the field from a client-side SSL certificate to look a user in the Koha database','Choice'),
('AllowPurchaseSuggestionBranchChoice','0','1','Allow user to choose branch when making a purchase suggestion','YesNo'),
('AllowRenewalIfOtherItemsAvailable','0',NULL,'If enabled, allow a patron to renew an item with unfilled holds if other available items can fill that hold.','YesNo'),
--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc
@@ -124,16 +124,6 @@
your interlibrary loan requests
[% END %]
-
- [% IF Koha.Preference('AllowPatronsManageAPIKeysInOPAC') %]
- [% IF apikeysview %]
-