34 lines
346 B
C++
34 lines
346 B
C++
|
/*
|
||
|
* This file is a part of Winix
|
||
|
* and is not publicly distributed
|
||
|
*
|
||
|
* Copyright (c) 2008-2010, Tomasz Sowa
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#include "logout.h"
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
namespace Fun
|
||
|
{
|
||
|
|
||
|
|
||
|
Logout::Logout()
|
||
|
{
|
||
|
fun.url = "logout";
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void Logout::MakeGet()
|
||
|
{
|
||
|
system->users.LogoutCurrentUser();
|
||
|
system->RedirectToLastItem();
|
||
|
}
|
||
|
|
||
|
|
||
|
} // namespace
|