Skip to content

Commit

Permalink
minor #6192 fix MongoDB shell syntax highlighting (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.3 branch.

Discussion
----------

fix MongoDB shell syntax highlighting

Commits
-------

5ec6841 fix MongoDB shell syntax highlighting
  • Loading branch information
xabbuh committed Jan 27, 2016
2 parents c012b1e + 5ec6841 commit adf70bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbook/doctrine/mongodb_session_storage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Because MongoDB uses dynamic collection schemas, you do not need to do anything
session collection. However, you may want to add an index to improve garbage collection performance.
From the `MongoDB shell`_:

.. code-block:: text
.. code-block:: javascript
use session_db
db.session.ensureIndex( { "expires_at": 1 }, { expireAfterSeconds: 0 } )
Expand Down

0 comments on commit adf70bc

Please sign in to comment.