]> git.mxchange.org Git - friendica.git/commitdiff
Improve documentation of visitor-related functions
authorHypolite Petovan <hypolite@mrpetovan.com>
Wed, 5 Aug 2020 02:44:42 +0000 (22:44 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Wed, 5 Aug 2020 02:44:42 +0000 (22:44 -0400)
boot.php
src/Core/Session.php

index 512238b52eb07b45632fd189f595c9fa122bb17a..b43fd6dc2f3b195fec1df0766b40fb066cbc2de3 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -266,7 +266,7 @@ function public_contact()
 }
 
 /**
- * Returns contact id of authenticated site visitor or false
+ * Returns public contact id of authenticated site visitor or false
  *
  * @return int|bool visitor_id or false
  */
index 767dcb513ff267584cd252f5cdce5e031c1a5e7b..b15b53c4eef4ecc04e709a6f7b9b9f3d39dd6f09 100644 (file)
@@ -65,10 +65,10 @@ class Session
        }
 
        /**
-        * Returns contact ID for given user ID
+        * Return the user contact ID of a visitor for the given user ID they are visiting
         *
         * @param integer $uid User ID
-        * @return integer Contact ID of visitor for given user ID
+        * @return integer
         */
        public static function getRemoteContactID($uid)
        {