mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
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
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue