mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Archives: refactoring of the API to enable/disable the archive mode
SVN:trunk[4696]
This commit is contained in:
@@ -63,9 +63,7 @@ class iTopWebPage extends NiceWebPage implements iTabbedPage
|
||||
$this->bBreadCrumbEnabled = false;
|
||||
}
|
||||
|
||||
$bArchiveMode = utils::IsArchiveMode();
|
||||
DBSearch::SetArchiveModeDefault($bArchiveMode);
|
||||
if ($bArchiveMode) MetaModel::DBSetReadOnly();
|
||||
utils::InitArchiveMode();
|
||||
|
||||
$this->m_sMenu = "";
|
||||
$this->m_aMessages = array();
|
||||
|
||||
Reference in New Issue
Block a user