/** * Handles the shutdown */ public function onShutdown() { // Just so we know that we're in this debug mode if ($this->config->get('plugins.admin.popularity.enabled')) { // Only track non-admin if (!$this->active) { $this->popularity->trackHit(); } } }