public function onInstall() { parent::onInstall(); $registry = $this->getRegistry(); $registry->set('send_stats', 1); }