New Simplified Log Out for UNIX.COM

Hi,

I changed the logout code to just simply log out and go back to the page you were viewing:

Was (ending code):

eval(standard_error(fetch_error('cookieclear', create_full_url($vbulletin->url), $vbulletin->options['forumhome'], $vbulletin->session->vars['sessionurl_q']), '', false));

Now:

  $goto = "Location: ".create_full_url($vbulletin->url);
   header($goto);
   exit

;

It is faster and easier than all the slow redirects so the user could (original code) read the mostly useless "cookie cleared" and other logout messages.

Now, it just logs out and goes to the page you were looking when you logged in, fast and furious and without messages.

:slight_smile:

1 Like