Skip to content

Commit

Permalink
Removed redundant abort check
Browse files Browse the repository at this point in the history
  • Loading branch information
cypnk authored Mar 19, 2022
1 parent 15f4741 commit 1ac28b1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7821,11 +7821,6 @@ function request( string $event, array $hook, array $params ) : array {
// Check throttling
sessionThrottle();

// Check for closed connection
if ( \connection_aborted() ) {
visitorAbort();
}

$host = getHost();

// Empty host?
Expand Down

0 comments on commit 1ac28b1

Please sign in to comment.