From 81d9bfe908b4e15c697ee4791e3be3141fc175af Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 20 Nov 2019 16:48:00 -0500
Subject: [PATCH] Fix bug: wrong method name.

- We don't want to override AbstractBase::write, because it adds functionality.
---
 module/VuFind/src/VuFind/Session/Redis.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/Session/Redis.php b/module/VuFind/src/VuFind/Session/Redis.php
index facf0e324ff..dc8645e4f8b 100644
--- a/module/VuFind/src/VuFind/Session/Redis.php
+++ b/module/VuFind/src/VuFind/Session/Redis.php
@@ -108,7 +108,7 @@ class Redis extends AbstractBase
      *
      * @return bool
      */
-    public function write($sess_id, $data)
+    protected function saveSession($sess_id, $data)
     {
         return $this->getConnection()->setex(
             "vufind_sessions/{$sess_id}", $this->lifetime, $data
-- 
GitLab