Remove unused showFloodWarning function

This commit is contained in:
DariusIII
2018-10-27 21:44:36 +02:00
parent 4b0c72066f
commit 83ee85b447
2 changed files with 1 additions and 11 deletions
@@ -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
*/