Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Title says it all. Please remove the connect option from line 34 in mongodb.module
Comment | File | Size | Author |
---|
Comments
Comment #1
tungscit CreditAttribution: tungscit commentedHere is the patch
Comment #2
tungscit CreditAttribution: tungscit commentedComment #4
tungscit CreditAttribution: tungscit commentedComment #5
fgmThis would need some rationale: the module needs to support not only recent versions but, to a certain extent, older ones.
Will this soon-to-be-deprecated option cause an error if used on a recent server, or just be ignored ? And will its removal actually cause a problem on older versions ? If that's the case, the patch needs to account for both situations.
Comment #6
SchnWalter CreditAttribution: SchnWalter commentedThe "connect" option is passed to the MongoClient constructor. And I don't see it as being deprecated.
Please provide more info if you consider this to be the case and I missed something in the docs.