Move include/security tp /src/Core/Authentication and /src/Util/Security
This commit is contained in:
parent
93c6dddc0d
commit
05be2db725
30 changed files with 613 additions and 572 deletions
|
@ -21,6 +21,7 @@ use Friendica\Model\Profile;
|
|||
use Friendica\Protocol\DFRN;
|
||||
use Friendica\Util\DateTimeFormat;
|
||||
use Friendica\Util\Temporal;
|
||||
use Friendica\Util\Security;
|
||||
|
||||
function cal_init(App $a)
|
||||
{
|
||||
|
@ -141,7 +142,7 @@ function cal_content(App $a)
|
|||
}
|
||||
|
||||
// get the permissions
|
||||
$sql_perms = item_permissions_sql($owner_uid, $remote_contact, $groups);
|
||||
$sql_perms = Security::item_permissions_sql($owner_uid, $remote_contact, $groups);
|
||||
// we only want to have the events of the profile owner
|
||||
$sql_extra = " AND `event`.`cid` = 0 " . $sql_perms;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue