/**
  * @see Action::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     // parameters
     if (isset($_GET['downloadFile'])) {
         $this->downloadFile = $_GET['downloadFile'];
     }
 }
 /**
  * @see Action::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     // parameters
     if (isset($_REQUEST['mailID'])) {
         $this->mailID = intval($_REQUEST['mailID']);
     }
     // get mail data
     $userMailData = WCF::getSession()->getVar('userMailData');
     if (!isset($userMailData[$this->mailID])) {
         throw new SystemException('could not find mail data');
     }
     $this->userMailData = $userMailData[$this->mailID];
 }
 /**
  * @see Action::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     // parameters
     if (isset($_REQUEST['pmSessionID'])) {
         $this->pmSessionID = intval($_REQUEST['pmSessionID']);
     }
     // get pm data
     $pmData = WCF::getSession()->getVar('pmData');
     if (!isset($pmData[$this->pmSessionID])) {
         throw new SystemException('could not find pm data');
     }
     $this->pmData = $pmData[$this->pmSessionID];
     if (!empty($this->pmData['pmID'])) {
         $this->pmID = intval($this->pmData['pmID']);
     }
     if (defined('PMTOUSERGROUPS_DEFAULTLIMIT') && PMTOUSERGROUPS_DEFAULTLIMIT > 0) {
         $this->limit = PMTOUSERGROUPS_DEFAULTLIMIT;
     } else {
         $this->limit = 25;
     }
     $this->username = WCF::getUser()->username;
     $this->userID = intval(WCF::getUser()->userID);
 }
 /**
  * @see Action::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     WCF::getUser()->checkPermission('admin.maintenance.canImportDB');
 }