Skip to content

Commit

Permalink
Merge pull request #5664 from CarsonF/changelog-tweak
Browse files Browse the repository at this point in the history
Tweak changelog notes about session and port redis handler fix
  • Loading branch information
GwendolenLynch committed Aug 10, 2016
2 parents 7121593 + 1713625 commit 088877d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
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

0 comments on commit 088877d

Please sign in to comment.