diff --git a/include/friendica_smarty.php b/include/friendica_smarty.php index f0d819d62..a7d153e30 100644 --- a/include/friendica_smarty.php +++ b/include/friendica_smarty.php @@ -3,8 +3,6 @@ use Friendica\Core\Addon; use Friendica\Render\ITemplateEngine; -require_once "include/plugin.php"; - define('SMARTY3_TEMPLATE_FOLDER', 'templates'); class FriendicaSmarty extends Smarty diff --git a/mod/statistics_json.php b/mod/statistics_json.php index 94a7fc9e1..f2c6e074f 100644 --- a/mod/statistics_json.php +++ b/mod/statistics_json.php @@ -8,8 +8,6 @@ use Friendica\App; use Friendica\Core\Addon; use Friendica\Core\Config; -require_once("include/plugin.php"); - function statistics_json_init(App $a) { if (!Config::get("system", "nodeinfo")) { diff --git a/src/Content/Feature.php b/src/Content/Feature.php index d35fcf703..47b72dce3 100644 --- a/src/Content/Feature.php +++ b/src/Content/Feature.php @@ -9,8 +9,6 @@ use Friendica\Core\Addon; use Friendica\Core\Config; use Friendica\Core\PConfig; -require_once 'include/plugin.php'; - class Feature { /** diff --git a/src/Model/User.php b/src/Model/User.php index 57f1d0ab2..e8fdb4d04 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -27,7 +27,6 @@ require_once 'include/enotify.php'; require_once 'include/network.php'; require_once 'library/openid.php'; require_once 'include/pgettext.php'; -require_once 'include/plugin.php'; require_once 'include/text.php'; /** * @brief This class handles User related functions diff --git a/src/Network/FKOAuth1.php b/src/Network/FKOAuth1.php index 93e17a704..49483fe27 100644 --- a/src/Network/FKOAuth1.php +++ b/src/Network/FKOAuth1.php @@ -16,7 +16,6 @@ use OAuthSignatureMethod_PLAINTEXT; use OAuthSignatureMethod_HMAC_SHA1; require_once "library/OAuth1.php"; -require_once "include/plugin.php"; /** * @brief OAuth protocol diff --git a/update.php b/update.php index 0dc3398ec..ff0885229 100644 --- a/update.php +++ b/update.php @@ -82,8 +82,6 @@ function update_1189() { function update_1191() { - require_once 'include/plugin.php'; - Config::set('system', 'maintenance', 1); if (Addon::isEnabled('forumlist')) { diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index 4a57199f1..57df31aee 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -19,7 +19,6 @@ use Friendica\Database\DBM; use Friendica\Model\GContact; use Friendica\Model\Profile; -require_once "include/plugin.php"; require_once "mod/proxy.php"; function vier_init(App $a) {