tickets has been moved to a new plugin 'ticket'

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@657 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-09-29 21:24:34 +00:00
parent a589e5a090
commit a8b8c1feec
55 changed files with 2765 additions and 2523 deletions

View File

@@ -110,7 +110,8 @@ void Rm::RemoveAllDirs(long dir_id)
system->dirs.DelDir(dir_id);
db->RemoveThread(dir_id);
db->RemoveTicket(dir_id);
// !! tticket
// db->RemoveTicket(dir_id);
plugin.Call(WINIX_DIR_REMOVED, dir_id);
}
@@ -207,9 +208,12 @@ void Rm::RemoveFile()
if( system->mounts.pmount->type == system->mounts.MountTypeThread() )
db->EditThreadRemoveItem(request->item.parent_id);
/*
!! tticket
else
if( system->mounts.pmount->type == system->mounts.MountTypeTicket() )
db->EditTicketRemoveItem(request->item.id);
*/
if( request->item.auth != Item::auth_none )
RemoveAuth(request->item);