diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-10-18 14:34:59 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-10-18 14:34:59 -0700 |
commit | ac824fe83e67950f9303d13d574ff00b57dd5727 (patch) | |
tree | 025eb4346b278d5eb6493bd8b935cf6e842f3db1 /mod/like.php | |
parent | 103814ab8e6940a8e0e24b618d2e02e0779bc39b (diff) | |
download | volse-hubzilla-ac824fe83e67950f9303d13d574ff00b57dd5727.tar.gz volse-hubzilla-ac824fe83e67950f9303d13d574ff00b57dd5727.tar.bz2 volse-hubzilla-ac824fe83e67950f9303d13d574ff00b57dd5727.zip |
eradicate redundant get_uid function
Diffstat (limited to 'mod/like.php')
-rw-r--r-- | mod/like.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/like.php b/mod/like.php index c7782d4d7..ac528d221 100644 --- a/mod/like.php +++ b/mod/like.php @@ -66,7 +66,7 @@ function like_content(&$a) { } - if((local_user()) && (get_uid() == $owner_uid)) { + if((local_user()) && (local_user() == $owner_uid)) { $contact = $owner; } else { |