Voting starts in March for the Drupal Association Board election.
I was doing some profiling on a page containing a single webform node, and noticed that there was an API call to Mollom — even though the webform was not one of the Mollom-enabled forms on the site. The API call originated from
I think we could safely move
_mollom_status() to a later point in
mollom_form_alter() to avoid running into whatever edge case might trigger an API call on pages where there's no need to validate the keys.
I'm attaching a patch against 7.x-2.x that moves the call to
_mollom_status() to just after verifying that the form is Mollom-enabled, before attaching the Mollom widget to the form.
PASSED: [[SimpleTest]]: [MySQL] 5,742 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 6,826 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 6,800 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 6,801 pass(es). View
PASSED: [[SimpleTest]]: [MySQL] 6,710 pass(es). View