protected function resetKga() { if (null === $this->kgaLast) { return; } global $kga; $kga = $this->kgaLast; \Kimai_Registry::setConfig($kga); }