removed some thread and ticket information from request
they are in FunThread and FunTicket classes now added funtion FunUptime (I forgot about it) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@631 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -41,7 +41,7 @@ bool Mkdir::HasAccess(const Item & item)
|
||||
if( !system->mounts.pmount->IsPar(Mount::par_mkdir_on) )
|
||||
return true;
|
||||
|
||||
if( system->mounts.pmount->IsArg(Mount::par_mkdir_on, request->dir_table.size()) )
|
||||
if( system->mounts.pmount->IsArg(Mount::par_mkdir_on, request->dir_tab.size()) )
|
||||
return true;
|
||||
|
||||
return false;
|
||||
@@ -50,7 +50,7 @@ return false;
|
||||
|
||||
bool Mkdir::HasAccess()
|
||||
{
|
||||
if( request->is_item || !HasAccess(*request->dir_table.back()) )
|
||||
if( request->is_item || !HasAccess(*request->dir_tab.back()) )
|
||||
return false;
|
||||
|
||||
return true;
|
||||
@@ -59,13 +59,13 @@ return true;
|
||||
|
||||
|
||||
|
||||
void Mkdir::PostFunMkdir(bool add_to_dir_table, int privileges)
|
||||
void Mkdir::PostFunMkdir(bool add_to_dir_tab, int privileges)
|
||||
{
|
||||
functions->ReadItem(request->item, Item::dir);
|
||||
functions->SetUser(request->item);
|
||||
request->item.privileges = privileges;
|
||||
|
||||
request->status = system->dirs.AddDirectory(request->item, add_to_dir_table);
|
||||
request->status = system->dirs.AddDirectory(request->item, add_to_dir_tab);
|
||||
|
||||
if( request->status == WINIX_ERR_OK )
|
||||
{
|
||||
|
Reference in New Issue
Block a user