mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Optimized roughly the load of user management data, and added a mean for quick profiling (to enable, add the setting log_duration)
SVN:trunk[711]
This commit is contained in:
@@ -455,6 +455,7 @@ try
|
||||
require_once('../application/itopwebpage.class.inc.php');
|
||||
require_once('../application/wizardhelper.class.inc.php');
|
||||
|
||||
$oDuration = new Duration();
|
||||
require_once('../application/startup.inc.php');
|
||||
$oAppContext = new ApplicationContext();
|
||||
$currentOrganization = utils::ReadParam('org_id', '');
|
||||
@@ -1389,6 +1390,7 @@ EOF
|
||||
$oP->set_title($oMenuNode->GetLabel());
|
||||
}
|
||||
}
|
||||
$oDuration->Scratch('Total page execution time');
|
||||
////MetaModel::ShowQueryTrace();
|
||||
$oP->output();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user