This is a backport of the issue #275796: Using unset() to clear static variables does not work as expected to D6.

I encountered this bug while working on the patterns module where having up-to-date and refreshed list of the loaded modules is essential for proper functioning of the module.

CommentFileSizeAuthor
module-list-static-d6.patch683 bytesvaish
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Damien Tournoud’s picture

Status: Needs review » Closed (duplicate)

I reopened #275796: Using unset() to clear static variables does not work as expected so that we can backport it to D6.

Marking this one as a duplicate.