Remove unnecessary code

merge-requests/5/head
Terence Eden 2024-02-16 09:00:52 +00:00
rodzic e0b518969d
commit 51c71edf1e
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -71,7 +71,7 @@
// Routing: // Routing:
// The .htaccess changes /whatever to /?path=whatever // The .htaccess changes /whatever to /?path=whatever
// This runs the function of the path requested. // This runs the function of the path requested.
$path = $_GET["path"]; !empty( $_GET["path"] ) ? $path = $_GET["path"] : die();
switch ($path) { switch ($path) {
case "": case "":
die(); die();
@ -203,7 +203,6 @@
// Get the parameters // Get the parameters
$inbox_id = $inbox_message["id"]; $inbox_id = $inbox_message["id"];
$inbox_actor = $inbox_message["actor"]; $inbox_actor = $inbox_message["actor"];
$inbox_url = parse_url( $inbox_actor, PHP_URL_SCHEME ) . "://" . parse_url( $inbox_actor, PHP_URL_HOST );
$inbox_host = parse_url( $inbox_actor, PHP_URL_HOST ); $inbox_host = parse_url( $inbox_actor, PHP_URL_HOST );
// Does this account have any followers? // Does this account have any followers?