Removing unused "use"

This commit is contained in:
Michael 2021-11-02 02:52:16 +00:00
parent c3964a8735
commit 5c82c2d4ee
6 changed files with 2 additions and 13 deletions

View file

@ -24,10 +24,9 @@
* Usage: php bin/wait-for-connection {HOST} {PORT} [{TIMEOUT}]
*/
use Friendica\Network\HTTPException\ForbiddenException;
if (php_sapi_name() !== 'cli') {
throw new ForbiddenException();
header($_SERVER["SERVER_PROTOCOL"] . ' 403 Forbidden');
exit();
}
$timeout = 60;