* Returns the user id of locally logged in user or false.
*
* @return int|bool user id or false
+ * @deprecated since version 2022.12, use Core\Session::getLocalUser() instead
*/
function local_user()
{
* Returns the public contact id of logged in user or false.
*
* @return int|bool public contact id or false
+ * @deprecated since version 2022.12, use Core\Session:: getPublicContact() instead
*/
function public_contact()
{
* Returns public contact id of authenticated site visitor or false
*
* @return int|bool visitor_id or false
+ * @deprecated since version 2022.12, use Core\Session:: getRemoteUser() instead
*/
function remote_user()
{