Remove unnecessary code
rodzic
e0b518969d
commit
51c71edf1e
|
@ -71,7 +71,7 @@
|
|||
// Routing:
|
||||
// The .htaccess changes /whatever to /?path=whatever
|
||||
// This runs the function of the path requested.
|
||||
$path = $_GET["path"];
|
||||
!empty( $_GET["path"] ) ? $path = $_GET["path"] : die();
|
||||
switch ($path) {
|
||||
case "":
|
||||
die();
|
||||
|
@ -203,7 +203,6 @@
|
|||
// Get the parameters
|
||||
$inbox_id = $inbox_message["id"];
|
||||
$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 );
|
||||
|
||||
// Does this account have any followers?
|
||||
|
|
Ładowanie…
Reference in New Issue