public function rebuildExtensions(array $modules = array(), $user_id = '1')
    {
        $this->setUpQuickRepair($user_id);
        $repair = new \RepairAndClear();
        $repair->repairAndClearAll(
            array('rebuildExtensions'),
            $modules
        );
        return $this->getMessages();
    }