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:
@@ -174,12 +174,12 @@ void PrivChanger::PrivFilesInDir(long parent_id)
|
||||
iq.WhereParentId(parent_id);
|
||||
iq.WhereType(Item::file);
|
||||
|
||||
db->GetItems(request->item_table, iq);
|
||||
db->GetItems(request->item_tab, iq);
|
||||
|
||||
|
||||
std::vector<Item>::iterator i = request->item_table.begin();
|
||||
std::vector<Item>::iterator i = request->item_tab.begin();
|
||||
|
||||
for( ; i != request->item_table.end() ; ++i)
|
||||
for( ; i != request->item_tab.end() ; ++i)
|
||||
{
|
||||
PrivLog("changed file: ", -1, i->url);
|
||||
ChangePriv(*i, user_id_file, group_id_file, priv_file);
|
||||
@@ -253,16 +253,16 @@ void PrivChanger::PrivDir()
|
||||
|
||||
if( request->IsPostVar("changecurrentdir") )
|
||||
{
|
||||
Item & last_dir = *request->dir_table.back();
|
||||
Item & last_dir = *request->dir_tab.back();
|
||||
PrivLog("changed dir: ", last_dir.id, last_dir.url);
|
||||
ChangePriv(*request->dir_table.back(), user_id_dir, group_id_dir, priv_dir);
|
||||
ChangePriv(*request->dir_tab.back(), user_id_dir, group_id_dir, priv_dir);
|
||||
}
|
||||
|
||||
|
||||
subdirectories = request->IsPostVar("changesubdirs");
|
||||
|
||||
// go through all directories
|
||||
PrivDir(request->dir_table.back()->id);
|
||||
PrivDir(request->dir_tab.back()->id);
|
||||
|
||||
system->RedirectToLastDir();
|
||||
}
|
||||
@@ -284,7 +284,7 @@ void PrivChanger::PrivOneItem()
|
||||
}
|
||||
else
|
||||
{
|
||||
ChangePriv(*request->dir_table.back(), user_id_file, group_id_file, priv_file);
|
||||
ChangePriv(*request->dir_tab.back(), user_id_file, group_id_file, priv_file);
|
||||
system->RedirectToLastDir();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user