46 lines
555 B
C++
Executable File
46 lines
555 B
C++
Executable File
/*
|
|
* This file is a part of Winix
|
|
* and is not publicly distributed
|
|
*
|
|
* Copyright (c) 2008-2010, Tomasz Sowa
|
|
* All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#include "chmod.h"
|
|
|
|
|
|
|
|
namespace Fun
|
|
{
|
|
|
|
|
|
Chmod::Chmod()
|
|
{
|
|
fun.url = "chmod";
|
|
}
|
|
|
|
|
|
void Chmod::MakePost()
|
|
{
|
|
priv_changer.SetRequest(request);
|
|
priv_changer.SetSystem(system);
|
|
priv_changer.SetDb(db);
|
|
|
|
priv_changer.Change(false, true);
|
|
}
|
|
|
|
|
|
void Chmod::MakeGet()
|
|
{
|
|
priv_changer.SetRequest(request);
|
|
priv_changer.SetSystem(system);
|
|
priv_changer.SetDb(db);
|
|
|
|
priv_changer.CheckAccess();
|
|
}
|
|
|
|
|
|
|
|
} // namespace
|