The place it was before could easily be reached without actually
executing (or even constructing) the module.
Change-Id: I6f807adc9cbf71c5d7b83c7eec43965dce1d2a16
} else {
$this->executeActionWithErrorHandling();
}
- $this->getContext()->getStats()->increment(
- 'api.modules.' . strtr( $this->getModule()->getModulePath(), '+', '.' ) );
}
/**
$this->checkAsserts( $params );
// Execute
+ $this->getContext()->getStats()->increment(
+ 'api.modules.' . strtr( $module->getModulePath(), '+', '.' ) );
$module->execute();
Hooks::run( 'APIAfterExecute', array( &$module ) );