From f002c9eb886a50855d1aa03b373edd3837397638 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 23 Mar 2019 17:10:36 -0700 Subject: [PATCH] session: Fix missing return in SessionBackend::resetId() Spotted by phan. Change-Id: Ic11864916d50e79031c30a0e74dbbcf548ce31a0 --- includes/session/SessionBackend.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/session/SessionBackend.php b/includes/session/SessionBackend.php index 7956e9fecb..0ea13e2a91 100644 --- a/includes/session/SessionBackend.php +++ b/includes/session/SessionBackend.php @@ -270,6 +270,8 @@ final class SessionBackend { // Delete the data for the old session ID now $this->store->delete( $this->store->makeKey( 'MWSession', $oldId ) ); } + + return $this->id; } /** -- 2.20.1