Hi, all.

I'm using 'boost_crawler' together with 'expire' and 'purge' modules so, 'boost' module is disabled in my environment.
I see PHP errors in 'boost_crawler_run()' function as it try to use 'boost_log()'.

Fixed in attached patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SocialNicheGuru’s picture

Status: Needs review » Reviewed & tested by the community

This works

joelstein’s picture

Another solution would be to make boost a dependency of boost_expire.

bgm’s picture

Status: Reviewed & tested by the community » Needs work

Isn't "module_exists" a bit heavy? (should be cached, but still..?)

How about function_exists?

DamienMcKenna’s picture

Status: Needs work » Needs review
FileSize
507 bytes

This covers joelstein's idea.