/**
  * @see Action::execute()
  */
 public function execute()
 {
     parent::execute();
     // check permission
     WCF::getUser()->checkPermission('admin.user.option.canEditOption');
     // enable user option
     require_once WCF_DIR . 'lib/data/user/option/UserOptionEditor.class.php';
     $userOption = new UserOptionEditor($this->optionID);
     if (!$userOption->optionID) {
         throw new IllegalLinkException();
     }
     $userOption->enable();
     // delete cache
     WCF::getCache()->clear(WCF_DIR . 'cache', 'cache.user-option-*');
     $this->executed();
     // forward to list page
     HeaderUtil::redirect('index.php?page=UserOptionList&packageID=' . PACKAGE_ID . SID_ARG_2ND_NOT_ENCODED);
     exit;
 }