Browse Source

Merge pull request #5972 from friendica/bug/5946-remove-last-include-security

Remove last references to include/security.php
pull/5974/head
Michael Vogel 3 years ago
committed by GitHub
parent
commit
97c181a391
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      mod/pubsub.php
  2. 1
      src/Protocol/DFRN.php

3
mod/pubsub.php

@ -6,8 +6,7 @@ use Friendica\Database\DBA;
use Friendica\Model\Contact;
use Friendica\Protocol\OStatus;
require_once('include/security.php');
require_once('include/items.php');
require_once 'include/items.php';
function hub_return($valid, $body)
{

1
src/Protocol/DFRN.php

@ -216,7 +216,6 @@ class DFRN
}
$contact = $r[0];
include_once 'include/security.php';
$set = PermissionSet::get($owner_id, $contact['id']);

Loading…
Cancel
Save