This module adds two queries, including one write query, to every page view, including cached page views. Thats a major sin. Do you really have to reset the weight of this module on every page view. If you do, then hook_exit would be a place to do that. But I would much prefer doing so once upon hook_enable(). Patch attached for that.

CommentFileSizeAuthor
mail_logger_enable.patch1.51 KBmoshe weitzman

Comments

litwol’s picture

Status: Needs review » Fixed

Commited to HEAD and DRUPAL-6--1

Not sure if this warrants a point release, perhaps i should make a decimal release?

Status: Fixed » Closed (fixed)

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