Browse Source

Remove references to include/acl_selectors

pull/4517/head
Hypolite Petovan 3 years ago
parent
commit
09c717d751
15 changed files with 0 additions and 20 deletions
  1. +0
    -2
      include/conversation.php
  2. +0
    -1
      mod/acl.php
  3. +0
    -1
      mod/display.php
  4. +0
    -2
      mod/editpost.php
  5. +0
    -2
      mod/events.php
  6. +0
    -2
      mod/fsuggest.php
  7. +0
    -1
      mod/group.php
  8. +0
    -1
      mod/message.php
  9. +0
    -1
      mod/network.php
  10. +0
    -1
      mod/notes.php
  11. +0
    -1
      mod/photos.php
  12. +0
    -1
      mod/profile.php
  13. +0
    -2
      mod/settings.php
  14. +0
    -1
      mod/videos.php
  15. +0
    -1
      src/Model/Group.php

+ 0
- 2
include/conversation.php View File

@ -21,8 +21,6 @@ use Friendica\Util\DateTimeFormat;
use Friendica\Util\Temporal;
use Friendica\Util\XML;
require_once "include/acl_selectors.php";
function item_extract_images($body) {
$saved_image = [];


+ 0
- 1
mod/acl.php View File

@ -9,7 +9,6 @@ use Friendica\Core\Addon;
use Friendica\Database\DBM;
use Friendica\Model\Contact;
require_once 'include/acl_selectors.php';
require_once 'include/dba.php';
require_once 'mod/proxy.php';


+ 0
- 1
mod/display.php View File

@ -205,7 +205,6 @@ function display_content(App $a, $update = false, $update_uid = 0) {
require_once 'include/security.php';
require_once 'include/conversation.php';
require_once 'include/acl_selectors.php';
$o = '';


+ 0
- 2
mod/editpost.php View File

@ -10,8 +10,6 @@ use Friendica\Core\L10n;
use Friendica\Core\System;
use Friendica\Database\DBM;
require_once 'include/acl_selectors.php';
function editpost_content(App $a) {
$o = '';


+ 0
- 2
mod/events.php View File

@ -479,8 +479,6 @@ function events_content(App $a) {
$fhour = ((x($orig_event)) ? DateTimeFormat::convert($fdt, $tz, 'UTC', 'H') : '00');
$fminute = ((x($orig_event)) ? DateTimeFormat::convert($fdt, $tz, 'UTC', 'i') : '00');
require_once 'include/acl_selectors.php' ;
$perms = Acl::getDefaultUserPermissions($orig_event);
if ($mode === 'new' || $mode === 'copy') {


+ 0
- 2
mod/fsuggest.php View File

@ -76,8 +76,6 @@ function fsuggest_post(App $a)
function fsuggest_content(App $a)
{
require_once 'include/acl_selectors.php';
if (! local_user()) {
notice(L10n::t('Permission denied.') . EOL);
return;


+ 0
- 1
mod/group.php View File

@ -146,7 +146,6 @@ function group_content(App $a) {
}
if (($a->argc > 1) && (intval($a->argv[1]))) {
require_once 'include/acl_selectors.php';
require_once 'mod/contacts.php';
$r = q("SELECT * FROM `group` WHERE `id` = %d AND `uid` = %d AND `deleted` = 0 LIMIT 1",


+ 0
- 1
mod/message.php View File

@ -16,7 +16,6 @@ use Friendica\Model\Mail;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Temporal;
require_once 'include/acl_selectors.php';
require_once 'include/conversation.php';
function message_init(App $a)


+ 0
- 1
mod/network.php View File

@ -25,7 +25,6 @@ use Friendica\Util\DateTimeFormat;
require_once 'include/conversation.php';
require_once 'include/items.php';
require_once 'include/acl_selectors.php';
function network_init(App $a)
{


+ 0
- 1
mod/notes.php View File

@ -33,7 +33,6 @@ function notes_content(App $a, $update = false)
require_once 'include/security.php';
require_once 'include/conversation.php';
require_once 'include/acl_selectors.php';
$groups = [];


+ 0
- 1
mod/photos.php View File

@ -27,7 +27,6 @@ use Friendica\Util\Map;
use Friendica\Util\Temporal;
require_once 'include/items.php';
require_once 'include/acl_selectors.php';
require_once 'include/security.php';
function photos_init(App $a) {


+ 0
- 1
mod/profile.php View File

@ -119,7 +119,6 @@ function profile_content(App $a, $update = 0)
require_once 'include/security.php';
require_once 'include/conversation.php';
require_once 'include/acl_selectors.php';
require_once 'include/items.php';
$groups = [];


+ 0
- 2
mod/settings.php View File

@ -1000,8 +1000,6 @@ function settings_content(App $a)
* ACCOUNT SETTINGS
*/
require_once('include/acl_selectors.php');
$profile = dba::selectFirst('profile', [], ['is-default' => true, 'uid' => local_user()]);
if (!DBM::is_result($profile)) {
notice(L10n::t('Unable to find your profile. Please contact your admin.') . EOL);


+ 0
- 1
mod/videos.php View File

@ -19,7 +19,6 @@ use Friendica\Protocol\DFRN;
use Friendica\Util\DateTimeFormat;
require_once 'include/items.php';
require_once 'include/acl_selectors.php';
require_once 'include/security.php';
function videos_init(App $a) {


+ 0
- 1
src/Model/Group.php View File

@ -289,7 +289,6 @@ class Group extends BaseObject
}
if ($check_dead && !$use_gcontact) {
require_once 'include/acl_selectors.php';
Contact::pruneUnavailable($return);
}
return $return;


Loading…
Cancel
Save