diff --git a/boot.php b/boot.php index 4458e3d753..89a30ce1e3 100644 --- a/boot.php +++ b/boot.php @@ -26,7 +26,6 @@ use Friendica\Core\Config; use Friendica\Core\PConfig; use Friendica\Util\Lock; -require_once 'include/config.php'; require_once 'include/network.php'; require_once 'include/plugin.php'; require_once 'include/text.php'; diff --git a/include/NotificationsManager.php b/include/NotificationsManager.php index d0b1d00679..5f9419e836 100644 --- a/include/NotificationsManager.php +++ b/include/NotificationsManager.php @@ -9,7 +9,6 @@ use Friendica\Core\Pconfig; use Friendica\Core\System; require_once 'include/html2plain.php'; -require_once 'include/probe.php'; require_once 'include/datetime.php'; require_once 'include/bbcode.php'; require_once 'include/Contact.php'; diff --git a/include/config.php b/include/config.php deleted file mode 100644 index 1c8b119bcc..0000000000 --- a/include/config.php +++ /dev/null @@ -1,151 +0,0 @@ - t("Public access denied."), - "description" => t("Only logged in users are permitted to perform a probing."))); - killme(); - } - - $o .= '

Probe Diagnostic

'; - - $o .= '
'; - $o .= 'Lookup address: '; - $o .= '
'; - - $o .= '

'; - - if (x($_GET, 'addr')) { - $addr = trim($_GET['addr']); - $res = Probe::uri($addr, "", 0, false); - $o .= '
';
-		$o .= str_replace("\n", '
', print_r($res, true)); - $o .= '
'; - } - - return $o; -} diff --git a/mod/repair_ostatus.php b/mod/repair_ostatus.php index ea83b08adf..3372d03261 100755 --- a/mod/repair_ostatus.php +++ b/mod/repair_ostatus.php @@ -3,7 +3,6 @@ use Friendica\App; use Friendica\Core\System; -require_once 'include/probe.php'; require_once 'include/follow.php'; function repair_ostatus_content(App $a) { diff --git a/mod/unfollow.php b/mod/unfollow.php index 8ee96a14c8..607c17d277 100644 --- a/mod/unfollow.php +++ b/mod/unfollow.php @@ -3,7 +3,6 @@ use Friendica\App; use Friendica\Core\System; -require_once 'include/probe.php'; require_once 'include/follow.php'; require_once 'include/Contact.php'; require_once 'include/contact_selectors.php';