mirror of
https://github.com/friendica/friendica
synced 2025-04-25 03:10:11 +00:00
eradicate redundant get_uid function
This commit is contained in:
parent
103814ab8e
commit
ac824fe83e
18 changed files with 79 additions and 86 deletions
|
@ -4,7 +4,7 @@ function can_write_wall(&$a,$owner) {
|
|||
|
||||
if((! (local_user())) && (! (remote_user())))
|
||||
return false;
|
||||
$uid = get_uid();
|
||||
$uid = local_user();
|
||||
|
||||
if(($uid) && ($uid == $owner)) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue