mirror of
https://github.com/friendica/friendica
synced 2025-05-03 17:44:10 +02:00
Removing unused "use"
This commit is contained in:
parent
c3964a8735
commit
5c82c2d4ee
6 changed files with 2 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue