added: column 'guest_name' to 'item' table
used when user_id is -1 added: mount parameters: thread_with_info, thread_with_header added: function rm can remove threads git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@506 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "error.h"
|
||||
#include "log.h"
|
||||
#include "db.h"
|
||||
|
||||
#include "data.h"
|
||||
|
||||
|
||||
void Dirs::Clear()
|
||||
@@ -404,6 +404,9 @@ void Dirs::DeleteDir(long id)
|
||||
|
||||
if( db.DelDirById(id) == Error::ok )
|
||||
dir_table.DelById(id);
|
||||
|
||||
if( data.mounts.CurrentMountType() == Mount::thread )
|
||||
db.RemoveThread(id);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user