'tickets' can use 'threads' now

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@706 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-01-20 18:37:51 +00:00
parent 3fad25b8c8
commit ab84a5169e
61 changed files with 1928 additions and 980 deletions

View File

@@ -176,7 +176,6 @@ void Functions::CreateFunctions()
Add(fun_chown);
Add(fun_ckeditor);
Add(fun_cp);
Add(fun_createthread);
Add(fun_default);
Add(fun_download);
Add(fun_emacs);
@@ -196,7 +195,6 @@ void Functions::CreateFunctions()
Add(fun_stat);
Add(fun_subject);
Add(fun_template);
Add(fun_thread);
Add(fun_tinymce);
Add(fun_uname);
Add(fun_upload);
@@ -249,10 +247,12 @@ void Functions::SetDefaultFunctionForFile()
void Functions::SetDefaultFunctionForDir()
{
if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
request->function = &fun_thread;
else
request->function = &fun_ls;
// !! nie potrzebne
// if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
// request->function = &fun_thread;
// else
request->function = &fun_ls;
log << log3 << "Functions: default function: " << request->function->fun.url << logend;
}