//flush component settings
CRM_Core_Component::getEnabledComponents(TRUE);
+ $_REQUEST = $_GET = $_POST = [];
error_reporting(E_ALL);
$this->_sethtmlGlobals();
if ($this->hookClass) {
$this->hookClass->reset();
}
- $session = CRM_Core_Session::singleton();
- $session->set('userID', NULL);
+ CRM_Core_Session::singleton()->reset(1);
if ($this->tx) {
$this->tx->rollback()->commit();