8000 fixed bad merge · DavidChristmann/symfony@be09e06 · GitHub
[go: up one dir, main page]

Skip to content

Commit be09e06

Browse files
committed
fixed bad merge
1 parent a1d1232 commit be09e06

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/Symfony/Component/HttpFoundation/Request.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -949,24 +949,6 @@ public function setRequestFormat($format)
949949
$this->format = $format;
950950
}
951951

952-
public function setLocale($locale)
953-
{
954-
if (!$this->hasSession()) {
955-
throw new \LogicException('Forward compatibility for Request::setLocale() requires the session to be set.');
956-
}
957-
958-
$this->session->setLocale($locale);
959-
}
960-
961-
public function getLocale()
962-
{
963-
if (!$this->hasSession()) {
964-
throw new \LogicException('Forward compatibility for Request::getLocale() requires the session to be set.');
965-
}
966-
967-
return $this->session->getLocale();
968-
}
969-
970952
/**
971953
* Gets the format associated with the request.
972954
*

0 commit comments

Comments
 (0)
0