public function rebuild()
{
global $session;
$app = $this->getApp();
$this->applications = $this->_apiList = $this->_cache['conf'] = $this->_cache['ob'] = $this->_interfaces = array();
$session->remove('horde', 'nls/');
$session->remove('horde', 'registry/');
$session->remove('horde', self::REGISTRY_CACHE);
$this->_loadApplications();
$this->importConfig('horde');
$this->importConfig($app);
}