There is a minor typo bug on one of the functions that updates this variable. The module works fine but one of the performance improvements would not work with that bug.

On pageear.install file on function pageear_disable there is this code:

  // Update the global variable numEnabledPageears that tracks number of pageears enabled
  variable_set('numEnabledPagears', 0);

that has a typo on variable numEnabledPageears. The code should look:

  // Update the global variable numEnabledPageears that tracks number of pageears enabled
  variable_set('numEnabledPageears', 0);

I fixed it, I decided to add a hook_enable too to reset that variable to 0 when the module is enabled and I'm going to commit an RC5 updated version.

For those who had installed version RC4 would be desirable if after updating to RC5 they could disable pageear module, reenable it again, and after that, reenable the pageears you need enabled.

Sorry the inconvenience.

Comments

manfer’s picture

Status: Active » Fixed

Commited new 6.x-2.0-RC5 and 5.x-2.0-RC5 versions.

For those who had installed version RC4 would be desirable if after updating to RC5 they could disable pageear module, reenable it again, and after that, reenable the pageears you need enabled. This is only for people upgrading from RC4 that probably not much as RC4 was released only some hours ago.

Sorry the inconvenience.

manfer’s picture

Sorry all updates to RC5 needs to disable pageear and reenable it. That way a new variable that improve performance is initialized correctly when you enable your pageears.

Sorry.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.