8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ee7431 + 74abdd6 commit 542813eCopy full SHA for 542813e
Session/Storage/Handler/MongoDbSessionHandler.php
@@ -51,7 +51,7 @@ class MongoDbSessionHandler extends AbstractSessionHandler
51
* A TTL collections can be used on MongoDB 2.2+ to cleanup expired sessions
52
* automatically. Such an index can for example look like this:
53
*
54
- * db.<session-collection>.ensureIndex(
+ * db.<session-collection>.createIndex(
55
* { "<expiry-field>": 1 },
56
* { "expireAfterSeconds": 0 }
57
* )
31F7
0 commit comments