mirror of
https://github.com/friendica/friendica
synced 2025-04-20 18:30:10 +00:00
Get rid of App->user completely
This commit is contained in:
parent
fc283ab928
commit
28090bd793
39 changed files with 158 additions and 234 deletions
|
@ -59,16 +59,6 @@ class Bookmarklet extends BaseModule
|
|||
$content = "\n" . PageInfo::getFooterFromUrl($_REQUEST['url']);
|
||||
|
||||
$x = [
|
||||
'is_owner' => true,
|
||||
'allow_location' => $app->getUserValue('allow_location'),
|
||||
'default_location' => $app->getUserValue('default-location'),
|
||||
'nickname' => $app->getNickname(),
|
||||
'lockstate' => ACL::getLockstateForUserId($app->getUserId()) ? 'lock' : 'unlock',
|
||||
'default_perms' => ACL::getDefaultUserPermissions($app->user),
|
||||
'acl' => ACL::getFullSelectorHTML(DI::page(), $app->user, true),
|
||||
'bang' => '',
|
||||
'visitor' => 'block',
|
||||
'profile_uid' => local_user(),
|
||||
'title' => trim($_REQUEST['title'] ?? '', '*'),
|
||||
'content' => $content
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue