private function setUpQuickRepair($user_id = '1')
    {
        // Config ang language
        $sugarConfig = $this->getEntryPoint()->getApplication()->getSugarConfig();
        // Force setting the admin user.
        $this->getEntryPoint()->setCurrentUser($user_id);
        $currentLanguage = $sugarConfig['default_language'];
        require_once('modules/Administration/QuickRepairAndRebuild.php');
        require_once('include/utils/layout_utils.php');
        $GLOBALS['mod_strings'] = return_module_language($currentLanguage, 'Administration');
        ob_start(array($this, 'parseOutput'));
        $this->isFlushed = false;
    }