mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02: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