mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 23:03:25 +09:00
Save per-board configuration
This commit is contained in:
parent
173dd35d42
commit
f7367f2888
10 changed files with 15 additions and 71 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue