1
1
Fork 0

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

Remove last references to include/security.php
This commit is contained in:
Michael Vogel 2018-10-19 21:14:10 +02:00 committed by GitHub
commit 97c181a391
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -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)
{

View file

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