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 2a4983d + 542813e commit 1b96658Copy full SHA for 1b96658
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
* )
0 commit comments