removed relic time measurement code
This commit is contained in:
parent
86c751a77e
commit
127231e01b
1 changed files with 0 additions and 14 deletions
14
search.php
14
search.php
|
|
@ -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');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue