Skip to content

Commit 07df516

Browse files
committed
removed methods strongly deprecated in 2.3
1 parent 41c5347 commit 07df516

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/Http/Request.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,6 @@ public function getPost($key = NULL, $default = NULL)
136136
*/
137137
public function getFile($key)
138138
{
139-
if (func_num_args() > 1) {
140-
trigger_error('Calling getFile() with multiple keys is deprecated.', E_USER_DEPRECATED);
141-
return Nette\Utils\Arrays::get($this->files, func_get_args(), NULL);
142-
}
143-
144139
return isset($this->files[$key]) ? $this->files[$key] : NULL;
145140
}
146141

src/Http/Response.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,6 @@ public function deleteCookie($name, $path = NULL, $domain = NULL, $secure = NULL
285285
}
286286

287287

288-
/** @internal @deprecated */
289-
public function removeDuplicateCookies()
290-
{
291-
trigger_error('Use Nette\Http\Helpers::removeDuplicateCookies()', E_USER_WARNING);
292-
}
293-
294-
295288
private function checkHeaders()
296289
{
297290
if (headers_sent($file, $line)) {

0 commit comments

Comments
 (0)