mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
Migrate PermissionSet to Depository paradigm
This commit is contained in:
parent
430e6c3285
commit
62eb16e9ad
21 changed files with 437 additions and 387 deletions
|
@ -213,7 +213,7 @@ class Status extends BaseProfile
|
|||
$permissionSets = DI::permissionSet()->selectByContactId($remote_user, $profile['uid']);
|
||||
if (!empty($permissionSets)) {
|
||||
$condition = ['psid' => array_merge($permissionSets->column('id'),
|
||||
[DI::permissionSet()->getIdFromACL($profile['uid'], '', '', '', '')])];
|
||||
[DI::permissionSet()->selectEmptyForUser($profile['uid'])])];
|
||||
}
|
||||
} elseif ($profile['uid'] == local_user()) {
|
||||
$condition = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue