remove unsed require_onces of security.php
This commit is contained in:
parent
05be2db725
commit
45e5a7f59f
12 changed files with 0 additions and 17 deletions
|
@ -90,7 +90,6 @@ function community_content(App $a, $update = 0)
|
|||
}
|
||||
}
|
||||
|
||||
require_once 'include/security.php';
|
||||
require_once 'include/conversation.php';
|
||||
|
||||
if (!$update) {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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])) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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'])) {
|
||||
|
|
|
@ -10,7 +10,6 @@ use Friendica\Core\Authentication;
|
|||
use Friendica\Core\L10n;
|
||||
|
||||
require_once 'boot.php';
|
||||
require_once 'include/security.php';
|
||||
|
||||
/**
|
||||
* Logout module
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -7,8 +7,6 @@ use Friendica\BaseObject;
|
|||
use Friendica\Core\Config;
|
||||
use Friendica\Core\System;
|
||||
|
||||
require_once 'include/security.php';
|
||||
|
||||
/**
|
||||
* @brief Proxy utilities class
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue