mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Renaming functions + moving functions from security to Model/Item and BaseModule + fix multiline comments
This commit is contained in:
parent
ce2b1f5715
commit
f3fc1f36ca
29 changed files with 233 additions and 222 deletions
|
@ -325,7 +325,7 @@ function display_content(App $a, $update = false, $update_uid = 0)
|
|||
$o .= status_editor($a, $x, 0, true);
|
||||
}
|
||||
|
||||
$sql_extra = Security::item_permissions_sql($a->profile['uid'], $is_remote_contact, $groups);
|
||||
$sql_extra = Item::getPermissionsSQLByUserId($a->profile['uid'], $is_remote_contact, $groups);
|
||||
|
||||
if (local_user() && (local_user() == $a->profile['uid'])) {
|
||||
$condition = ['parent-uri' => $item_parent_uri, 'uid' => local_user(), 'unseen' => true];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue