mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
Remove construct_acl_data()
This commit is contained in:
parent
04589ecd38
commit
d9c6417f5d
8 changed files with 3 additions and 50 deletions
|
@ -454,11 +454,10 @@ function networkFlatView(App $a, $update = 0) {
|
|||
'bang' => '',
|
||||
'visitor' => 'block',
|
||||
'profile_uid' => local_user(),
|
||||
'acl_data' => construct_acl_data($a, $a->user), // For non-Javascript ACL selector
|
||||
'content' => '',
|
||||
);
|
||||
|
||||
$o .= status_editor($a,$x);
|
||||
$o .= status_editor($a, $x);
|
||||
|
||||
if (!Config::get('theme','hide_eventlist')) {
|
||||
$o .= get_birthdays();
|
||||
|
@ -605,12 +604,10 @@ function networkThreadedView(App $a, $update = 0) {
|
|||
'bang' => (($group || $cid || $nets) ? '!' : ''),
|
||||
'visitor' => 'block',
|
||||
'profile_uid' => local_user(),
|
||||
'acl_data' => construct_acl_data($a, $a->user), // For non-Javascript ACL selector
|
||||
'content' => $content,
|
||||
);
|
||||
|
||||
$o .= status_editor($a,$x);
|
||||
|
||||
$o .= status_editor($a, $x);
|
||||
}
|
||||
|
||||
// We don't have to deal with ACLs on this page. You're looking at everything
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue