Skip to content

Commit 267db84

Browse files
authored
Merge pull request #180 from Chloe070196/25.02.00_newsletter_consent_koha_integration
fix: remove redundant and incorrect check
2 parents b4bb208 + 476273d commit 267db84

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

code/web/services/MyAccount/MyPrivacySettings.php

-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ class MyAccount_MyPrivacySettings extends MyAccount {
66
function launch(): void {
77
global $interface;
88
global $library;
9-
10-
if (!UserAccount::isLoggedIn()) {
11-
$interface->assign('error', 'You must be logged in to access the Administration Interface');
12-
}
139

1410
// Handles patrons attempting to access the page directly through the URL when the 'Privacy Settings' link is disabled and does not show
1511
if (!$library->ilsConsentEnabled && !$library->cookieStorageConsent) {

0 commit comments

Comments
 (0)