eradicate redundant get_uid function
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user