In module_implements function in module.inc when refresh is true we try to delete all previous values in $implementations but because $implementations is static we can't do that with unset. Quote from php docs http://www.php.net/manual/en/function.unset.php

If a static variable is unset() inside of a function, unset() destroys the variable only in the context of the rest of a function. Following calls will restore the previous value of a variable.

My patch does that with
$implementations = array();

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks. :)

yched’s picture

Shouldn't that be backported ?

Rok Žlender’s picture

Version: 6.x-dev » 5.x-dev
Status: Fixed » Needs review
FileSize
512 bytes

Patch for Drupal 5.

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community
drumm’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)