Remove require
remove require_once for plugins.php
This commit is contained in:
parent
d07536e032
commit
6c4c567319
7 changed files with 0 additions and 11 deletions
|
@ -3,8 +3,6 @@
|
||||||
use Friendica\Core\Addon;
|
use Friendica\Core\Addon;
|
||||||
use Friendica\Render\ITemplateEngine;
|
use Friendica\Render\ITemplateEngine;
|
||||||
|
|
||||||
require_once "include/plugin.php";
|
|
||||||
|
|
||||||
define('SMARTY3_TEMPLATE_FOLDER', 'templates');
|
define('SMARTY3_TEMPLATE_FOLDER', 'templates');
|
||||||
|
|
||||||
class FriendicaSmarty extends Smarty
|
class FriendicaSmarty extends Smarty
|
||||||
|
|
|
@ -8,8 +8,6 @@ use Friendica\App;
|
||||||
use Friendica\Core\Addon;
|
use Friendica\Core\Addon;
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
|
|
||||||
require_once("include/plugin.php");
|
|
||||||
|
|
||||||
function statistics_json_init(App $a) {
|
function statistics_json_init(App $a) {
|
||||||
|
|
||||||
if (!Config::get("system", "nodeinfo")) {
|
if (!Config::get("system", "nodeinfo")) {
|
||||||
|
|
|
@ -9,8 +9,6 @@ use Friendica\Core\Addon;
|
||||||
use Friendica\Core\Config;
|
use Friendica\Core\Config;
|
||||||
use Friendica\Core\PConfig;
|
use Friendica\Core\PConfig;
|
||||||
|
|
||||||
require_once 'include/plugin.php';
|
|
||||||
|
|
||||||
class Feature
|
class Feature
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -27,7 +27,6 @@ require_once 'include/enotify.php';
|
||||||
require_once 'include/network.php';
|
require_once 'include/network.php';
|
||||||
require_once 'library/openid.php';
|
require_once 'library/openid.php';
|
||||||
require_once 'include/pgettext.php';
|
require_once 'include/pgettext.php';
|
||||||
require_once 'include/plugin.php';
|
|
||||||
require_once 'include/text.php';
|
require_once 'include/text.php';
|
||||||
/**
|
/**
|
||||||
* @brief This class handles User related functions
|
* @brief This class handles User related functions
|
||||||
|
|
|
@ -16,7 +16,6 @@ use OAuthSignatureMethod_PLAINTEXT;
|
||||||
use OAuthSignatureMethod_HMAC_SHA1;
|
use OAuthSignatureMethod_HMAC_SHA1;
|
||||||
|
|
||||||
require_once "library/OAuth1.php";
|
require_once "library/OAuth1.php";
|
||||||
require_once "include/plugin.php";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief OAuth protocol
|
* @brief OAuth protocol
|
||||||
|
|
|
@ -82,8 +82,6 @@ function update_1189() {
|
||||||
|
|
||||||
function update_1191() {
|
function update_1191() {
|
||||||
|
|
||||||
require_once 'include/plugin.php';
|
|
||||||
|
|
||||||
Config::set('system', 'maintenance', 1);
|
Config::set('system', 'maintenance', 1);
|
||||||
|
|
||||||
if (Addon::isEnabled('forumlist')) {
|
if (Addon::isEnabled('forumlist')) {
|
||||||
|
|
|
@ -19,7 +19,6 @@ use Friendica\Database\DBM;
|
||||||
use Friendica\Model\GContact;
|
use Friendica\Model\GContact;
|
||||||
use Friendica\Model\Profile;
|
use Friendica\Model\Profile;
|
||||||
|
|
||||||
require_once "include/plugin.php";
|
|
||||||
require_once "mod/proxy.php";
|
require_once "mod/proxy.php";
|
||||||
|
|
||||||
function vier_init(App $a) {
|
function vier_init(App $a) {
|
||||||
|
|
Loading…
Reference in a new issue