Save per-board configuration

This commit is contained in:
BJRambo 2016-05-14 00:21:55 +09:00
parent 173dd35d42
commit f7367f2888
10 changed files with 15 additions and 71 deletions

View file

@ -292,10 +292,8 @@ class boardController extends board
}
}
// generate document module controller object
$oTrashModel = getModel('trash');
$config = $oTrashModel->getConfig();
$oDocumentController = getController('document');
if($config->trash_use == 'Y')
if($this->module_info->trash_use == 'Y')
{
// move the trash
$output = $oDocumentController->moveDocumentToTrash($oDocument);