mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Remove unused showFloodWarning function
This commit is contained in:
@@ -134,17 +134,6 @@ class BasePageController extends Controller
|
||||
$this->smarty->assign('site', $this->settings);
|
||||
}
|
||||
|
||||
/**
|
||||
* Done in html here to reduce any smarty processing burden if a large flood is underway.
|
||||
*
|
||||
* @param int $seconds
|
||||
*/
|
||||
public function showFloodWarning($seconds = 5): void
|
||||
{
|
||||
header('Retry-After: '.$seconds);
|
||||
$this->show503();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user