From 5b6ea1ef914d0d33516ce59df69637576055ce66 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 May 2017 10:41:20 +0300 Subject: remove pubsubhubbub: dead --- include/functions.php | 2 -- include/sanity_check.php | 4 ---- include/sanity_config.php | 4 ++-- 3 files changed, 2 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index 3ea1035cb..a664212b2 100644 --- a/include/functions.php +++ b/include/functions.php @@ -145,8 +145,6 @@ define('SELF_USER_AGENT', 'Tiny Tiny RSS/' . VERSION . ' (http://tt-rss.org/)'); ini_set('user_agent', SELF_USER_AGENT); - require_once 'lib/pubsubhubbub/Publisher.php'; - $schema_version = false; function _debug_suppress($suppress) { diff --git a/include/sanity_check.php b/include/sanity_check.php index 12cc5579d..83ff36737 100755 --- a/include/sanity_check.php +++ b/include/sanity_check.php @@ -140,10 +140,6 @@ array_push($errors, "PHP safe mode setting is obsolete and not supported by tt-rss."); } - if ((PUBSUBHUBBUB_HUB || PUBSUBHUBBUB_ENABLED) && !function_exists("curl_init")) { - array_push($errors, "PHP support for CURL is required for PubSubHubbub."); - } - if (!class_exists("DOMDocument")) { array_push($errors, "PHP support for DOMDocument is required, but was not found."); } diff --git a/include/sanity_config.php b/include/sanity_config.php index 797b74eda..0e9944361 100644 --- a/include/sanity_config.php +++ b/include/sanity_config.php @@ -1,3 +1,3 @@ - +$requred_defines = array( 'DB_TYPE', 'DB_HOST', 'DB_USER', 'DB_NAME', 'DB_PASS', 'MYSQL_CHARSET', 'SELF_URL_PATH', 'FEED_CRYPT_KEY', 'SINGLE_USER_MODE', 'SIMPLE_UPDATE_MODE', 'PHP_EXECUTABLE', 'LOCK_DIRECTORY', 'CACHE_DIR', 'ICONS_DIR', 'ICONS_URL', 'AUTH_AUTO_CREATE', 'AUTH_AUTO_LOGIN', 'FORCE_ARTICLE_PURGE', 'SPHINX_SERVER', 'SPHINX_INDEX', 'ENABLE_REGISTRATION', 'REG_NOTIFY_ADDRESS', 'REG_MAX_USERS', 'SESSION_COOKIE_LIFETIME', 'SMTP_FROM_NAME', 'SMTP_FROM_ADDRESS', 'DIGEST_SUBJECT', 'SMTP_SERVER', 'SMTP_LOGIN', 'SMTP_PASSWORD', 'SMTP_SECURE', 'CHECK_FOR_UPDATES', 'ENABLE_GZIP_OUTPUT', 'PLUGINS', 'LOG_DESTINATION', 'CONFIG_VERSION'); ?> -- cgit v1.2.3