remove unsed require_onces of security.php

2022.09-rc
Jonny Tischbein 2018-10-17 18:39:27 +02:00
rodzic 05be2db725
commit 45e5a7f59f
12 zmienionych plików z 0 dodań i 17 usunięć

Wyświetl plik

@ -90,7 +90,6 @@ function community_content(App $a, $update = 0)
}
}
require_once 'include/security.php';
require_once 'include/conversation.php';
if (!$update) {

Wyświetl plik

@ -6,7 +6,6 @@ use Friendica\App;
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
require_once 'include/security.php';
require_once 'include/items.php';
function filer_content(App $a)

Wyświetl plik

@ -43,8 +43,6 @@ function item_post(App $a) {
return 0;
}
require_once 'include/security.php';
$uid = local_user();
if (!empty($_REQUEST['dropitems'])) {
@ -872,8 +870,6 @@ function item_content(App $a)
return;
}
require_once 'include/security.php';
$o = '';
if (($a->argc == 3) && ($a->argv[1] === 'drop') && intval($a->argv[2])) {

Wyświetl plik

@ -4,7 +4,6 @@ use Friendica\App;
use Friendica\Core\System;
use Friendica\Model\Item;
require_once 'include/security.php';
require_once 'include/items.php';
function like_content(App $a) {

Wyświetl plik

@ -33,7 +33,6 @@ function notes_content(App $a, $update = false)
return;
}
require_once 'include/security.php';
require_once 'include/conversation.php';
$o = Profile::getTabs($a, true);

Wyświetl plik

@ -21,7 +21,6 @@ use Friendica\Core\Worker;
use Friendica\Database\DBA;
use Friendica\Model\Item;
require_once 'include/security.php';
require_once 'include/items.php';
function poke_init(App $a)

Wyświetl plik

@ -13,7 +13,6 @@ use Friendica\Core\System;
use Friendica\Database\DBA;
use Friendica\Model\Item;
require_once 'include/security.php';
require_once 'include/conversation.php';
require_once 'mod/dirfind.php';

Wyświetl plik

@ -10,7 +10,6 @@ use Friendica\Core\Worker;
use Friendica\Database\DBA;
use Friendica\Model\Item;
require_once 'include/security.php';
require_once 'include/items.php';
function tagger_content(App $a) {

Wyświetl plik

@ -193,7 +193,6 @@ function videos_content(App $a)
return;
}
require_once 'include/security.php';
require_once 'include/conversation.php';
if (empty($a->data['user'])) {

Wyświetl plik

@ -10,7 +10,6 @@ use Friendica\Core\Authentication;
use Friendica\Core\L10n;
require_once 'boot.php';
require_once 'include/security.php';
/**
* Logout module

Wyświetl plik

@ -17,8 +17,6 @@ use Friendica\Util\DateTimeFormat;
use Friendica\Util\Network;
use Friendica\Util\Proxy as ProxyUtils;
require_once 'include/security.php';
/**
* @brief Module Proxy
*/

Wyświetl plik

@ -7,8 +7,6 @@ use Friendica\BaseObject;
use Friendica\Core\Config;
use Friendica\Core\System;
require_once 'include/security.php';
/**
* @brief Proxy utilities class
*/