Removing unused "use"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user