Merge pull request #5972 from friendica/bug/5946-remove-last-include-security
Remove last references to include/security.php
This commit is contained in:
commit
97c181a391
|
@ -6,8 +6,7 @@ use Friendica\Database\DBA;
|
||||||
use Friendica\Model\Contact;
|
use Friendica\Model\Contact;
|
||||||
use Friendica\Protocol\OStatus;
|
use Friendica\Protocol\OStatus;
|
||||||
|
|
||||||
require_once('include/security.php');
|
require_once 'include/items.php';
|
||||||
require_once('include/items.php');
|
|
||||||
|
|
||||||
function hub_return($valid, $body)
|
function hub_return($valid, $body)
|
||||||
{
|
{
|
||||||
|
|
|
@ -216,7 +216,6 @@ class DFRN
|
||||||
}
|
}
|
||||||
|
|
||||||
$contact = $r[0];
|
$contact = $r[0];
|
||||||
include_once 'include/security.php';
|
|
||||||
|
|
||||||
$set = PermissionSet::get($owner_id, $contact['id']);
|
$set = PermissionSet::get($owner_id, $contact['id']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user