]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_confirm.php
eradicate redundant get_uid function
[friendica.git] / mod / dfrn_confirm.php
index 82e1b7624a2ebb66f901f5aaa7387d99d8d1c0f7..992947613f4681d6fc1c0e385378dfc0b844785a 100644 (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 );