From: Kunal Mehta Date: Sun, 24 Mar 2019 00:10:36 +0000 (-0700) Subject: session: Fix missing return in SessionBackend::resetId() X-Git-Tag: 1.34.0-rc.0~2394^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22brouteur%22%2C%28%24id_rubrique%20?a=commitdiff_plain;h=f002c9eb886a50855d1aa03b373edd3837397638;p=lhc%2Fweb%2Fwiklou.git session: Fix missing return in SessionBackend::resetId() Spotted by phan. Change-Id: Ic11864916d50e79031c30a0e74dbbcf548ce31a0 --- 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; } /**