Remove construct_acl_data()

This commit is contained in:
Hypolite Petovan 2018-01-03 19:29:52 -05:00
commit d9c6417f5d
8 changed files with 3 additions and 50 deletions

View file

@ -210,7 +210,6 @@ function profile_content(App $a, $update = 0)
'bang' => '',
'visitor' => $is_owner || $commvisitor ? 'block' : 'none',
'profile_uid' => $a->profile['profile_uid'],
'acl_data' => $is_owner ? construct_acl_data($a, $a->user) : '', // For non-Javascript ACL selector
);
$o .= status_editor($a, $x);