session: Fix missing return in SessionBackend::resetId()
authorKunal Mehta <legoktm@member.fsf.org>
Sun, 24 Mar 2019 00:10:36 +0000 (17:10 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Sun, 24 Mar 2019 01:06:35 +0000 (18:06 -0700)
Spotted by phan.

Change-Id: Ic11864916d50e79031c30a0e74dbbcf548ce31a0

includes/session/SessionBackend.php

index 7956e9f..0ea13e2 100644 (file)
@@ -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;
        }
 
        /**