Skip to content

docs: fix wrong sample code in sessions.rst#5447

Merged
paulbalandan merged 1 commit intocodeigniter4:developfrom
kenjis:fix-docs-sessions.rst
Dec 9, 2021
Merged

docs: fix wrong sample code in sessions.rst#5447
paulbalandan merged 1 commit intocodeigniter4:developfrom
kenjis:fix-docs-sessions.rst

Conversation

@kenjis
Copy link
Copy Markdown
Member

@kenjis kenjis commented Dec 9, 2021

Description

  • $session->destroy() will destroy the session and log out the user.

See https://forum.codeigniter.com/thread-80718.html

Checklist:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@kenjis kenjis added the documentation Pull requests for documentation only label Dec 9, 2021
@paulbalandan paulbalandan merged commit 7dd2f10 into codeigniter4:develop Dec 9, 2021
@kenjis kenjis deleted the fix-docs-sessions.rst branch December 9, 2021 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Pull requests for documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants