From 3e89bf167f87d77874bdab417c10035ca66034e0 Mon Sep 17 00:00:00 2001 From: Alexander Blanchard Date: Mon, 5 Aug 2024 11:55:37 +0100 Subject: [PATCH] feat: Remove Reward Types from User Object --- code/web/sys/Account/User.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/code/web/sys/Account/User.php b/code/web/sys/Account/User.php index 7367948a38..4ab27edd3d 100644 --- a/code/web/sys/Account/User.php +++ b/code/web/sys/Account/User.php @@ -3462,10 +3462,6 @@ public function getAdminActions() { 'Administer All Basic Pages', 'Administer Library Basic Pages', ]); - $sections['community']->addAction(new AdminAction('Reward Types', 'Create and view reward types.', '/Community/RewardTypes'), [ - 'Administer All Basic Pages', - 'Administer Library Basic Pages', - ]); $sections['cataloging'] = new AdminSection('Catalog / Grouped Works'); $groupedWorkAction = new AdminAction('Grouped Work Display', 'Define information about what is displayed for Grouped Works in search results and full record displays.', '/Admin/GroupedWorkDisplay'); $groupedWorkAction->addSubAction(new AdminAction('Grouped Work Facets', 'Define information about what facets are displayed for grouped works in search results and Advanced Search.', '/Admin/GroupedWorkFacets'), [