1
0
Fork 0

eradicate redundant get_uid function

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

View file

@ -25,7 +25,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
if(! x($_POST,'source_url')) {
$uid = ((is_array($handsfree)) ? $handsfree['uid'] : get_uid());
$uid = ((is_array($handsfree)) ? $handsfree['uid'] : local_user());
if(! $uid) {
notice( t('Permission denied.') . EOL );