1
0
Fork 0

Remove require

remove require_once for plugins.php
This commit is contained in:
Adam Magness 2018-01-17 13:55:29 -05:00
parent d07536e032
commit 6c4c567319
7 changed files with 0 additions and 11 deletions

View file

@ -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

View file

@ -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")) {

View file

@ -9,8 +9,6 @@ use Friendica\Core\Addon;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
require_once 'include/plugin.php';
class Feature
{
/**

View file

@ -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

View file

@ -16,7 +16,6 @@ use OAuthSignatureMethod_PLAINTEXT;
use OAuthSignatureMethod_HMAC_SHA1;
require_once "library/OAuth1.php";
require_once "include/plugin.php";
/**
* @brief OAuth protocol

View file

@ -82,8 +82,6 @@ function update_1189() {
function update_1191() {
require_once 'include/plugin.php';
Config::set('system', 'maintenance', 1);
if (Addon::isEnabled('forumlist')) {

View file

@ -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) {