Remove unused parameter in can_write_wall()
This commit is contained in:
parent
659d637b5a
commit
722782d553
7 changed files with 12 additions and 13 deletions
|
|
@ -194,7 +194,7 @@ function profile_content(App $a, $update = 0)
|
|||
$a->page['aside'] .= categories_widget(System::baseUrl(true) . '/profile/' . $a->profile['nickname'], (x($category) ? xmlify($category) : ''));
|
||||
$a->page['aside'] .= tagcloud_wall_widget();
|
||||
|
||||
if (can_write_wall($a, $a->profile['profile_uid'])) {
|
||||
if (can_write_wall($a->profile['profile_uid'])) {
|
||||
$x = array(
|
||||
'is_owner' => $is_owner,
|
||||
'allow_location' => ($is_owner || $commvisitor) && $a->profile['allow_location'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue