public function cleanup() { self::$unitMOD = null; self::$unitCustMOD = null; // cleaning config parameters $this->_aConfigparams = array(); parent::cleanup(); if (oxRegistry::getConfig() === $this) { throw new Exception("clean config failed"); } }