Skip to content

Commit 4cd9a40

Browse files
committed
Removed unused httpRequest
1 parent ce677f7 commit 4cd9a40

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

src/Kdyby/Replicator/Container.php

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ class Container extends Nette\Forms\Container
4444
/** @var array */
4545
private $created = array();
4646

47-
/** @var \Nette\Http\IRequest */
48-
private $httpRequest;
49-
5047
/** @var array */
5148
private $httpPost;
5249

@@ -310,33 +307,6 @@ private function getHttpData()
310307

311308

312309

313-
/**
314-
* @internal
315-
* @param \Nette\Application\Request $request
316-
* @return Container
317-
*/
318-
public function setRequest(Nette\Application\Request $request)
319-
{
320-
$this->httpRequest = $request;
321-
return $this;
322-
}
323-
324-
325-
326-
/**
327-
* @return \Nette\Application\Request
328-
*/
329-
private function getRequest()
330-
{
331-
if ($this->httpRequest !== NULL) {
332-
return $this->httpRequest;
333-
}
334-
335-
return $this->httpRequest = $this->getForm()->getPresenter()->getRequest();
336-
}
337-
338-
339-
340310
/**
341311
* @param \Nette\Forms\Container $container
342312
* @param boolean $cleanUpGroups

0 commit comments

Comments
 (0)