Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak changelog notes about session and port redis handler fix #5664

Merged
merged 2 commits into from
Aug 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ Not yet released.
- Fixed: Change link to taxonomies documentation [#5618](https://github.com/bolt/bolt/pull/5618)
- Fixed: Get correct path to compare in 'current' filter, when Bolt is in a subfolder/ [#5620](https://github.com/bolt/bolt/pull/5620)
- Fixed: Replacing deprecated `localdate` with `localedatetime`. [#5621](https://github.com/bolt/bolt/pull/5621)
- Fixed: Adjust probability formula for session garbage collection [#5626](https://github.com/bolt/bolt/pull/5626), [#5633](https://github.com/bolt/bolt/pull/5633)
- Fixed: Filesystem session handler's garbage collection [#5633](https://github.com/bolt/bolt/pull/5633)
- Fixed: Memcached and Redis session handler and realm getting appended multiple times [#5662](https://github.com/bolt/bolt/pull/5662)
- Fixed: Redis session handler [#5664](https://github.com/bolt/bolt/pull/5664)
- Added: Session can now be configured via config.yml and custom handler/path in ini is not overridden [#5563](https://github.com/bolt/bolt/pull/5563)
- Fixed: Fixing a link in the base-2016 theme [#5627](https://github.com/bolt/bolt/pull/5627)
- Fixed: Fix backend publish process quirks ([#5085](https://github.com/bolt/bolt/pull/5085)) [#5610](https://github.com/bolt/bolt/pull/5610)
- Fixed: Remove the last references to `listcontent` [#5634](https://github.com/bolt/bolt/pull/5634)
Expand Down
2 changes: 1 addition & 1 deletion src/Session/Handler/RedisHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RedisHandler implements \SessionHandlerInterface, LazyWriteHandlerInterfac
*/
public function __construct($redis, $maxlifetime)
{
if (!$redis instanceof Redis || !$redis instanceof Predis) {
if (!$redis instanceof Redis && !$redis instanceof Predis) {
throw new \InvalidArgumentException('Argument must be an instance of Redis or Predis\ClientInterface');
}
$this->redis = $redis;
Expand Down