if ( $restart ) {
session_id( (string)$this->id );
- \MediaWiki\quietCall( 'session_start' );
+ \Wikimedia\quietCall( 'session_start' );
}
$this->autosave();
/**
* Set the "logged out" timestamp
- * @param int $ts
+ * @param int|null $ts
*/
public function setLoggedOutTimestamp( $ts = null ) {
$ts = (int)$ts;
* Save the session
*
* Update both the backend data and the associated WebRequest(s) to
- * reflect the state of the the SessionBackend. This might include
+ * reflect the state of the SessionBackend. This might include
* persisting or unpersisting the session.
*
* @param bool $closing Whether the session is being closed
'session' => $this->id,
] );
session_id( (string)$this->id );
- \MediaWiki\quietCall( 'session_start' );
+ \Wikimedia\quietCall( 'session_start' );
}
}
}