removed relic time measurement code

This commit is contained in:
Sarjuuk
2013-05-31 08:12:09 +02:00
parent 86c751a77e
commit 127231e01b

View File

@@ -815,26 +815,15 @@ if ($searchMask & 0x1000000)
$maxResults
);
$t = [];
Util::execTime();
$misc = new SpellList($conditions);
$t[] = Util::execTime();
if ($data = $misc->getListviewData())
{
$t[] = Util::execTime();
$misc->addGlobalsToJscript($jsGlobals);
$t[] = Util::execTime();
while ($misc->iterate())
$data[$misc->id]['param1'] = '"'.strToLower($misc->getField('iconString')).'"';
$t[] = Util::execTime();
$found['spell'] = array(
'type' => TYPE_SPELL,
'appendix' => ' (Spell)',
@@ -848,8 +837,6 @@ if ($searchMask & 0x1000000)
]
);
$t[] = Util::execTime();
if ($misc->getMatches() > $maxResults)
{
$found['spell']['params']['note'] = '$'.sprintf(Util::$narrowResultString, 'LANG.lvnote_spellsfound', $misc->getMatches(), $maxResults);
@@ -984,7 +971,6 @@ else /* if ($searchMask & SEARCH_TYPE_REGULAR) */
$smarty->assign('lvData', $jsGlobals);
$smarty->assign('search', $search);
$smarty->assign('mysql', DB::Aowow()->getStatistics());
$smarty->assign('util', new Util); // just for debugging / optimizing
$smarty->display('search.tpl');
}