eradicate redundant get_uid function

This commit is contained in:
Mike Macgirvin
2010-10-18 14:34:59 -07:00
parent 103814ab8e
commit ac824fe83e
18 changed files with 79 additions and 86 deletions

View File

@@ -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;