When I install the Mongodb block module, after I have had block module deactivated, I get the error message Constant BLOCK_REGION_NONE already defined in require_once().
This was also reported here by @langworthy: http://drupal.org/node/1163584#comment-5496150.
We could have different approaches to this, here are three
- Delete the constant defined by block module and define it again in the Mongodb block module
- Delete the constant defined by block module and define our own
- Keep the block module constant and define our own.
I do not like to keep things in the configuration that I do not use, and there could also be other modules that depends on checking BLOCK_REGION_NONE (I do not know if there are any, but anyhow, you could) so my personal vote goes to number one.
Comments
Comment #1
misc commentedPatch for the above number 1.
Comment #2
misc commentedComment #3
misc commentedAny opinions on this?
Comment #4
fgmSolution 3 seems the most consistent with Drupal practice in general.
Comment #5
misc commentedOk, patch for solution #3.
Comment #7
misc commentedCould someone do a review on this? Should be nice to have, so we could get rid of the error message.
Comment #8
misc commentedCommitted to latest dev.