Created
October 13, 2018 16:26
-
-
Save nelson-ph/412b32275b6f55e4d7eef79d554ce604 to your computer and use it in GitHub Desktop.
Drupal 8 Redis fix warning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Index: modules/redis_sessions/src/RedisSessionsSessionManager.php | |
| IDEA additional info: | |
| Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
| <+>UTF-8 | |
| =================================================================== | |
| --- modules/redis_sessions/src/RedisSessionsSessionManager.php (date 1539447905000) | |
| +++ modules/redis_sessions/src/RedisSessionsSessionManager.php (date 1539447905000) | |
| @@ -257,7 +257,7 @@ | |
| */ | |
| public function destroy() { | |
| $uid = $this->getSessionBagUid(); | |
| - $this->redis->set("SESS_DESTROY:$uid:" . \Drupal::currentUser()->id()); | |
| + $this->redis->set("SESS_DESTROY:$uid:", \Drupal::currentUser()->id()); | |
| if ($uid) { | |
| if (\Drupal::currentUser()->id() == 0) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment