mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Hide unnecessary status names from board config
This commit is contained in:
parent
f0df00a82d
commit
621e246530
2 changed files with 10 additions and 2 deletions
|
|
@ -165,7 +165,10 @@ class boardAdminView extends board {
|
|||
|
||||
// get document status list
|
||||
$oDocumentModel = getModel('document');
|
||||
$documentStatusList = $oDocumentModel->getStatusNameList();
|
||||
$documentStatusList = array_intersect_key($oDocumentModel->getStatusNameList(), [
|
||||
'PUBLIC' => true,
|
||||
'SECRET' => true,
|
||||
]);
|
||||
Context::set('document_status_list', $documentStatusList);
|
||||
|
||||
// setup the extra vaiables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue