For what reason there is an ID in logout link (for example http://test/login.php?action=out&id=2)?

else if ($action == 'out')
{
    if ($pun_user['is_guest'] || !isset($_GET['id']) || $_GET['id'] != $pun_user['id'])
    {
        header('Location: '.pun_link($pun_url['index']));
        exit;
    }

May be simply replace by:

else if ($action == 'out')
{
    if ($pun_user['is_guest'])
    {
        header('Location: '.pun_link($pun_url['index']));
        exit;
    }

It'll help me to integrate forum in CMS, where i don't have access to $pun_user['id'] and can not give user a link to logout. Thx and sorry for my english (: