Remove unused parameter in can_write_wall()

This commit is contained in:
Hypolite Petovan 2018-01-03 21:05:55 -05:00
parent 659d637b5a
commit 722782d553
7 changed files with 12 additions and 13 deletions

View file

@ -165,7 +165,7 @@ function authenticate_success($user_record, $login_initial = false, $interactive
}
}
function can_write_wall(App $a, $owner)
function can_write_wall($owner)
{
static $verified = 0;
@ -174,8 +174,7 @@ function can_write_wall(App $a, $owner)
}
$uid = local_user();
if (($uid) && ($uid == $owner)) {
if ($uid == $owner) {
return true;
}