- changed status to resolved
Excessive function calls. Performance improvement.
Issue #624
resolved
Frontend file: models/eventform.php Function: populateState
Minor performance issue.
$id = JFactory::getApplication()->input->getInt('id'); JFactory::getApplication()->setUserState('com_allevents.edit.event.id', $id);
should be replaced by:
$id = $app->input->getInt('id'); $app->setUserState('com_allevents.edit.event.id', $id);
$app is assigned on the previous line, so there's no need to call the functions again.
Comments (2)
-
repo owner -
repo owner - removed version
Removing version: 3.3.7 (automated comment)
- Log in to comment
fix
#624fix#632→ <<cset 64e02939ef14>>