Skip to content

refactor(session): drop $_SESSION read for has_share#59

Merged
ralflang merged 1 commit into
FRAMEWORK_6_0from
refactor/drop-superglobal-session-reads
Jun 12, 2026
Merged

refactor(session): drop $_SESSION read for has_share#59
ralflang merged 1 commit into
FRAMEWORK_6_0from
refactor/drop-superglobal-session-reads

Conversation

@ralflang

Copy link
Copy Markdown
Member

Single residual superglobal read in Turba::getDefaultAddressbook.
Every other site in the codebase (search.php, lib/Application.php,
Turba.php:739) reads via $session->get('turba', 'has_share'). Match
the rest. Removes the last superglobal read in turba and unblocks
the eventual retirement of horde/Core's Horde_Shutdown::addFinal()
mirror.

Single residual superglobal read in Turba::getDefaultAddressbook.
Every other site in the codebase (search.php, lib/Application.php,
Turba.php:739) reads via $session->get('turba', 'has_share'). Match
the rest. Removes the last superglobal read in turba and unblocks
the eventual retirement of horde/Core's Horde_Shutdown::addFinal()
mirror.
@ralflang ralflang merged commit f179489 into FRAMEWORK_6_0 Jun 12, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant