X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWebRequest.php;h=3bbdc3f312c41ebcfd21ccb9637109405d0049dd;hb=3a8a986e35ab5ae1328b2147ec31fc2d27caf9b8;hp=e7c9b83849fd77edfed0988e03c83f5f4cf252a0;hpb=8c1086225d413bca03e2fce7b8f947e68d0a3a7e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebRequest.php b/includes/WebRequest.php index e7c9b83849..3bbdc3f312 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -757,22 +757,6 @@ class WebRequest { return $this->sessionId; } - /** - * Returns true if the request has a persistent session. - * This does not necessarily mean that the user is logged in! - * - * @deprecated since 1.27, use - * \MediaWiki\Session\SessionManager::singleton()->getPersistedSessionId() - * instead. - * @return bool - */ - public function checkSessionCookie() { - global $wgInitialSessionId; - wfDeprecated( __METHOD__, '1.27' ); - return $wgInitialSessionId !== null && - $this->getSession()->getId() === (string)$wgInitialSessionId; - } - /** * Get a cookie from the $_COOKIE jar *