]> git.mxchange.org Git - friendica.git/commitdiff
remove unsed require_onces of security.php
authorJonny Tischbein <jonny_tischbein@systemli.org>
Wed, 17 Oct 2018 16:39:27 +0000 (18:39 +0200)
committerJonny Tischbein <jonny_tischbein@systemli.org>
Wed, 17 Oct 2018 16:39:27 +0000 (18:39 +0200)
12 files changed:
mod/community.php
mod/filer.php
mod/item.php
mod/like.php
mod/notes.php
mod/poke.php
mod/search.php
mod/tagger.php
mod/videos.php
src/Module/Logout.php
src/Module/Proxy.php
src/Util/Proxy.php

index d1432b7bbbf5c19dbd780a6f7eecbc59e7123063..01cf3ec70b0807580e8caa30fbe32e0da48e4151 100644 (file)
@@ -90,7 +90,6 @@ function community_content(App $a, $update = 0)
                }
        }
 
-       require_once 'include/security.php';
        require_once 'include/conversation.php';
 
        if (!$update) {
index 9b0017322c993e229f2253703e83d7bcc6ae99fd..d8c89f8554d71cd952d06c66428f9fccec982919 100644 (file)
@@ -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)
index 5a665fc7c8bc3f9beb927b4e94e68863a53df50c..98ab1cbd81213755ba47312efc1538cf9ccbb654 100644 (file)
@@ -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])) {
index 957fe5fc42ee107b9dafcb22c5c9b35a727567d6..08e3febbbc1a0b4dfc729771d17547e410a60963 100644 (file)
@@ -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) {
index da8352966e721e3f2c7698dc51668efa33db5967..55a92f8e64f674fc34716f0d656d174f238f7ea1 100644 (file)
@@ -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);
index 6ebb8632c18b3a24bc229b2c300fc1a8e346e97f..80d476005c06aa526350f48ac81d6a5173f2831d 100644 (file)
@@ -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)
index 64336e3487b0e78e34d304d37a86304e9b7d2630..b6e1a7e7f2cf4be8cb0f59553bf24493de7ecd41 100644 (file)
@@ -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';
 
index fd79d54150df6d60defe34a7b88f7616d278ad86..f661968f35a9b01c8b42b1bc1a0b4ffc2b53ea31 100644 (file)
@@ -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) {
index 0d217ef9c4bfd33662d961c377c865dbb9a0d0d0..50ce361d8131d50b6a4123983f21b8a95eedcbde 100644 (file)
@@ -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'])) {
index 74586dc69ef1b771c1154a54a9af761ce392a448..b2c03bf91fd0c4c3645c0d6500159c7db00e5212 100644 (file)
@@ -10,7 +10,6 @@ use Friendica\Core\Authentication;
 use Friendica\Core\L10n;
 
 require_once 'boot.php';
-require_once 'include/security.php';
 
 /**
  * Logout module
index 776dcccb35b63276ed4be75bcf1b1f89a52423f1..8c3493b2adaa6033027b78cf160dacaae6ca31a2 100644 (file)
@@ -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
  */
index 0bb7537f78bda42a52edb9535d43a4eea453ab7a..8478ce868af103794aad2ba1c534fc929dff3a57 100644 (file)
@@ -7,8 +7,6 @@ use Friendica\BaseObject;
 use Friendica\Core\Config;
 use Friendica\Core\System;
 
-require_once 'include/security.php';
-
 /**
  * @brief Proxy utilities class
  */